diff options
Diffstat (limited to 'libmpdemux/realrtsp/rtsp_session.c')
-rw-r--r-- | libmpdemux/realrtsp/rtsp_session.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmpdemux/realrtsp/rtsp_session.c b/libmpdemux/realrtsp/rtsp_session.c index 54b987b67b..9573dc24cb 100644 --- a/libmpdemux/realrtsp/rtsp_session.c +++ b/libmpdemux/realrtsp/rtsp_session.c @@ -26,9 +26,14 @@ */ #include <sys/types.h> +#include "config.h" +#ifndef HAVE_WINSOCK2 #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> +#else +#include <winsock2.h> +#endif #include <unistd.h> #include <stdio.h> #include <fcntl.h> |