diff options
Diffstat (limited to 'stream/http.c')
-rw-r--r-- | stream/http.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stream/http.c b/stream/http.c index 303db09a47..048edeedca 100644 --- a/stream/http.c +++ b/stream/http.c @@ -11,6 +11,14 @@ #include <string.h> #include <unistd.h> +#ifndef HAVE_WINSOCK2_H +#define closesocket close +#else +#include <winsock2.h> +#include <ws2tcpip.h> +#endif + +#include "http.h" #include "url.h" #include "mp_msg.h" |