Return to patch-source_shared_lib_sources_platform_posix_socket_cpp CVS log | Up to [local] / ports / games / megaglest / base / patches |
File: [local] / ports / games / megaglest / base / patches / Attic / patch-source_shared_lib_sources_platform_posix_socket_cpp (download)
Revision 1.2, Mon Aug 1 05:17:41 2011 UTC (13 years, 1 month ago) by yason
update patches |
$OpenBSD$ --- source/shared_lib/sources/platform/posix/socket.cpp.orig Thu Jun 30 10:38:37 2011 +++ source/shared_lib/sources/platform/posix/socket.cpp Thu Jun 30 10:39:20 2011 @@ -13,6 +13,10 @@ #include <cstdlib> #include <stdexcept> +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif + #if defined(HAVE_SYS_IOCTL_H) || defined(__linux__) #define BSD_COMP /* needed for FIONREAD on Solaris2 */ #include <sys/ioctl.h>