aboutsummaryrefslogtreecommitdiff
path: root/src/netserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netserver.c')
-rw-r--r--src/netserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netserver.c b/src/netserver.c
index 19cf6d4..97c3a5c 100644
--- a/src/netserver.c
+++ b/src/netserver.c
@@ -33,7 +33,7 @@
#include <string.h>
#include <stdio.h>
#include <pthread.h>
-#ifdef UNIX
+#if defined(UNIX) || defined(unix)
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>