summaryrefslogtreecommitdiffstats
path: root/stream/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/udp.c')
-rw-r--r--stream/udp.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/stream/udp.c b/stream/udp.c
index 52d47a0991..eaa0128b0c 100644
--- a/stream/udp.c
+++ b/stream/udp.c
@@ -31,18 +31,8 @@
#include <sys/time.h>
#include <ctype.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 "mp_msg.h"
+#include "network.h"
#include "url.h"
#include "udp.h"