changeset 27109:9440e551f9e3

mingw uses Windows sockets.
author vayne
date Sat, 28 Jun 2008 19:32:35 +0000
parents 3b2b8361786c
children f83be44e1faf
files stream/librtsp/rtsp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/librtsp/rtsp.c	Sat Jun 28 12:19:19 2008 +0000
+++ b/stream/librtsp/rtsp.c	Sat Jun 28 19:32:35 2008 +0000
@@ -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"