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..76e2e6d520 100644 --- a/stream/network.h +++ b/stream/network.h @@ -22,6 +22,10 @@ #include "url.h" #include "http.h" +#ifndef HAVE_CLOSESOCKET +#define closesocket close +#endif + #define BUFFER_SIZE 2048 typedef struct { |