summaryrefslogtreecommitdiffstats
path: root/stream/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/tcp.c')
-rw-r--r--stream/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tcp.c b/stream/tcp.c
index 7eb5fc11b8..fd5a849cad 100644
--- a/stream/tcp.c
+++ b/stream/tcp.c
@@ -25,12 +25,12 @@
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
-#define closesocket close
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
+#include "network.h"
#include "stream.h"
#include "tcp.h"