Annotation of ports/games/megaglest/base/patches/patch-source_shared_lib_sources_platform_posix_socket_cpp, Revision 1.2
1.1 yason 1: $OpenBSD$
1.2 ! yason 2: --- source/shared_lib/sources/platform/posix/socket.cpp.orig Thu Jun 30 10:38:37 2011
! 3: +++ source/shared_lib/sources/platform/posix/socket.cpp Thu Jun 30 10:39:20 2011
1.1 yason 4: @@ -13,6 +13,10 @@
5: #include <cstdlib>
6: #include <stdexcept>
7:
8: +#ifndef MSG_NOSIGNAL
9: +#define MSG_NOSIGNAL 0
10: +#endif
11: +
12: #if defined(HAVE_SYS_IOCTL_H) || defined(__linux__)
13: #define BSD_COMP /* needed for FIONREAD on Solaris2 */
14: #include <sys/ioctl.h>
CVSweb