aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/tcpserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tcpserver.c b/net/tcpserver.c
index 551c21a..595a08b 100644
--- a/net/tcpserver.c
+++ b/net/tcpserver.c
@@ -42,6 +42,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/time.h>
+#include <errno.h>
#define SOCKET_ERROR -1
#else
#include <winsock2.h>