version 1.1, 2011/04/24 18:49:09 |
version 1.2, 2011/08/01 05:17:41 |
|
|
$OpenBSD$ |
$OpenBSD$ |
--- source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c.orig Sun Apr 10 15:41:33 2011 |
--- source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c.orig Thu Jun 30 10:29:18 2011 |
+++ source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c Sun Apr 10 15:42:54 2011 |
+++ source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c Thu Jun 30 10:31:34 2011 |
@@ -27,7 +27,11 @@ |
@@ -27,7 +27,11 @@ |
#include <sys/stat.h> |
#include <sys/stat.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
-#if defined(__FreeBSD__) |
-#if defined(__FreeBSD__) |
+#ifndef MSG_NOSIGNAL |
+#ifndef MSG_NOSIGNAL |
+#define MSG_NOSIGNAL 0 |
+#define MSG_NOSIGNAL 0 |
+#endif |
+#endif |
+ |
+ |
+#if defined(__FreeBSD__) || defined(__OpenBSD__) |
+#if defined(__FreeBSD__) || defined(__OpenBSD__) |
#include <sys/uio.h> |
#include <sys/uio.h> |