summaryrefslogtreecommitdiffstats
path: root/stream/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/tcp.c')
-rw-r--r--stream/tcp.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/stream/tcp.c b/stream/tcp.c
index 7eb5fc11b8..e75e89d609 100644
--- a/stream/tcp.c
+++ b/stream/tcp.c
@@ -19,18 +19,7 @@
#include "mp_msg.h"
#include "help_mp.h"
-
-#ifndef HAVE_WINSOCK2_H
-#include <netdb.h>
-#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"