Return to patch-source_shared_lib_sources_feathery_ftp_ftpTargetPosix_c CVS log | 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.1, Sun Apr 24 18:49:09 2011 UTC (13 years, 2 months ago) by yason
missed base subdir |
$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 Sun Apr 10 15:42:54 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>