summaryrefslogtreecommitdiffstats
path: root/stream/stream_rtsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_rtsp.c')
-rw-r--r--stream/stream_rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_rtsp.c b/stream/stream_rtsp.c
index d5c02852c1..c45f3aad86 100644
--- a/stream/stream_rtsp.c
+++ b/stream/stream_rtsp.c
@@ -32,13 +32,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 <errno.h>
+#include "network.h"
#include "stream.h"
#include "tcp.h"
#include "librtsp/rtsp.h"