summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/librtsp/rtsp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stream/librtsp/rtsp.c b/stream/librtsp/rtsp.c
index 30a2987e16..932114a762 100644
--- a/stream/librtsp/rtsp.c
+++ b/stream/librtsp/rtsp.c
@@ -42,7 +42,9 @@
#include <sys/time.h>
#include <sys/types.h>
#include <inttypes.h>
-
+#ifdef HAVE_WINSOCK2
+#include <winsock2.h>
+#endif
#include "mp_msg.h"
#include "rtsp.h"
#include "rtsp_session.h"