diff options
author | Martin Szulecki | 2013-02-17 20:54:09 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-17 20:54:09 +0100 |
commit | a70586322e0d0d09c99e910d02745098234a1e10 (patch) | |
tree | aa1abe0a49fd7e2a4fc1ef1144d4db7aca4b22d8 /nanohttp/nanohttp-socket.h | |
parent | 99153c2246d18836d902761ce92d99596c16964a (diff) | |
download | csoap-a70586322e0d0d09c99e910d02745098234a1e10.tar.gz csoap-a70586322e0d0d09c99e910d02745098234a1e10.tar.bz2 |
Add winsock2.h include where required to compile for WIN32
Diffstat (limited to 'nanohttp/nanohttp-socket.h')
-rw-r--r-- | nanohttp/nanohttp-socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-socket.h b/nanohttp/nanohttp-socket.h index c4f2188..e98f719 100644 --- a/nanohttp/nanohttp-socket.h +++ b/nanohttp/nanohttp-socket.h @@ -24,6 +24,10 @@ #ifndef __nanohttp_socket_h #define __nanohttp_socket_h +#ifdef WIN32 +#include <winsock2.h> +#endif + /** @file nanohttp-socket.h Socket wrapper * * @defgroup NANOHTTP_SOCKET Socket wrapper |