freebsd-ports/games/sumwars/files/patch-src_enet_unix.c
Pawel Pekala 924f605261 Summoning Wars is an open source role-playing game,
featuring both a single-player and a multiplayer mode
for about 2 to 8 players.

WWW: http://sumwars.org

PR:		ports/162687
Submitted by:	Stas Timokhin <devel@stasyan.com>
2011-12-15 22:50:58 +00:00

19 lines
406 B
C

--- src/enet/unix.c.orig 2011-10-21 07:16:43.000000000 +0700
+++ src/enet/unix.c 2011-11-13 16:44:47.000000000 +0700
@@ -30,11 +30,11 @@
#include <sys/poll.h>
#endif
-#ifndef _SOCKLEN_T
-#ifndef __socklen_t_defined
-typedef int socklen_t;
-#endif
-#endif
+//#ifndef _SOCKLEN_T
+//#ifndef __socklen_t_defined
+//typedef int socklen_t;
+//#endif
+//#endif
#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0