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.1, Sun Apr 24 18:49:09 2011 UTC (13 years, 2 months ago) by yason
missed base subdir |
$OpenBSD$ --- source/shared_lib/sources/platform/posix/socket.cpp.orig Sun Apr 10 15:49:01 2011 +++ source/shared_lib/sources/platform/posix/socket.cpp Sun Apr 10 15:49:51 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>