Annotation of ports/games/megaglest/base/patches/patch-source_shared_lib_sources_platform_posix_socket_cpp, Revision 1.1
1.1 ! yason 1: $OpenBSD$
! 2: --- source/shared_lib/sources/platform/posix/socket.cpp.orig Sun Apr 10 15:49:01 2011
! 3: +++ source/shared_lib/sources/platform/posix/socket.cpp Sun Apr 10 15:49:51 2011
! 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