[BACK]Return to patch-source_shared_lib_sources_feathery_ftp_ftpTargetPosix_c CVS log [TXT][DIR] Up to [local] / ports / games / megaglest / base / patches

File: [local] / ports / games / megaglest / base / patches / Attic / patch-source_shared_lib_sources_feathery_ftp_ftpTargetPosix_c (download)

Revision 1.2, Mon Aug 1 05:17:41 2011 UTC (12 years, 11 months ago) by yason
Branch: MAIN
CVS Tags: megaglest-3_5_2_4, magaglest-3_5_2_4
Changes since 1.1: +3 -3 lines

update patches

$OpenBSD$
--- source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c.orig	Thu Jun 30 10:29:18 2011
+++ source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c	Thu Jun 30 10:31:34 2011
@@ -27,7 +27,11 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-#if defined(__FreeBSD__)
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL	0
+#endif
+
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
     #include <sys/uio.h>
 #else
     #include <sys/sendfile.h>