diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/enet/unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/enet/unix.c b/libs/enet/unix.c index 19ee76f3..529fd2d8 100644 --- a/libs/enet/unix.c +++ b/libs/enet/unix.c @@ -49,8 +49,10 @@ #endif #ifndef HAS_SOCKLEN_T +#ifndef __socklen_t_defined typedef int socklen_t; #endif +#endif #ifndef MSG_NOSIGNAL #define MSG_NOSIGNAL 0 |