Annotation of ports/games/megaglest/base/patches/patch-source_shared_lib_sources_feathery_ftp_ftpTargetPosix_c, Revision 1.2
1.1 yason 1: $OpenBSD$
1.2 ! yason 2: --- source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c.orig Thu Jun 30 10:29:18 2011
! 3: +++ source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c Thu Jun 30 10:31:34 2011
1.1 yason 4: @@ -27,7 +27,11 @@
5: #include <sys/stat.h>
6: #include <unistd.h>
7:
8: -#if defined(__FreeBSD__)
9: +#ifndef MSG_NOSIGNAL
10: +#define MSG_NOSIGNAL 0
1.2 ! yason 11: +#endif
1.1 yason 12: +
13: +#if defined(__FreeBSD__) || defined(__OpenBSD__)
14: #include <sys/uio.h>
15: #else
16: #include <sys/sendfile.h>
CVSweb