diff options
Diffstat (limited to 'stream/network.h')
-rw-r--r-- | stream/network.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/network.h b/stream/network.h index b3d6abc8c4..5ec0233648 100644 --- a/stream/network.h +++ b/stream/network.h @@ -17,6 +17,10 @@ #include <netinet/in.h> #include <sys/socket.h> #include <arpa/inet.h> +#define closesocket close +#else +#include <winsock2.h> +#include <ws2tcpip.h> #endif #include "url.h" |