Annotation of ports/games/megaglest/base/patches/patch-source_shared_lib_sources_feathery_ftp_ftpTargetPosix_c, Revision 1.1
1.1 ! yason 1: $OpenBSD$
! 2: --- source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c.orig Sun Apr 10 15:41:33 2011
! 3: +++ source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c Sun Apr 10 15:42:54 2011
! 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
! 11: +#endif
! 12: +
! 13: +#if defined(__FreeBSD__) || defined(__OpenBSD__)
! 14: #include <sys/uio.h>
! 15: #else
! 16: #include <sys/sendfile.h>
CVSweb