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