summaryrefslogtreecommitdiffstats
path: root/stream/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/udp.c')
-rw-r--r--stream/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/udp.c b/stream/udp.c
index 52d47a0991..e7ac97f597 100644
--- a/stream/udp.c
+++ b/stream/udp.c
@@ -36,13 +36,13 @@
#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"