aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2009-02-22 23:39:29 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2009-02-22 23:39:29 +0000
commitfc18a719d4d76da4f1f3f4e78c15112e473127ef (patch)
tree2328efb52b84b80afefa2536287c428594cc6b8e /net
parentbcde13cbcfea881f736ae1abb4f26f0141b4ffda (diff)
include errno.h for linux
svn path=/trunk/externals/mrpeach/; revision=10806
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>