$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 #include +#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