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 /libcsoap | |
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 'libcsoap')
-rw-r--r-- | libcsoap/soap-nudp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcsoap/soap-nudp.c b/libcsoap/soap-nudp.c index 2e5ab83..8a2706c 100644 --- a/libcsoap/soap-nudp.c +++ b/libcsoap/soap-nudp.c @@ -72,6 +72,10 @@ #include <libxml/tree.h> #include <libxml/uri.h> +#ifdef WIN32 +#include <ws2tcpip.h> +#endif + #include <nanohttp/nanohttp-error.h> #include "soap-logging.h" |