summaryrefslogtreecommitdiffstats
path: root/stream/stream_netstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_netstream.c')
-rw-r--r--stream/stream_netstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_netstream.c b/stream/stream_netstream.c
index 4a3d2f04ed..5a3de1ce58 100644
--- a/stream/stream_netstream.c
+++ b/stream/stream_netstream.c
@@ -43,7 +43,6 @@
#include <errno.h>
#ifndef HAVE_WINSOCK2_H
-#define closesocket close
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -59,6 +58,7 @@
#include "libavutil/common.h"
#include "mpbswap.h"
+#include "network.h"
#include "netstream.h"
#include "tcp.h"