summaryrefslogtreecommitdiffstats
path: root/libcsoap/soap-nudp.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-17 20:54:09 +0100
committerGravatar Martin Szulecki2013-02-17 20:54:09 +0100
commita70586322e0d0d09c99e910d02745098234a1e10 (patch)
treeaa1abe0a49fd7e2a4fc1ef1144d4db7aca4b22d8 /libcsoap/soap-nudp.c
parent99153c2246d18836d902761ce92d99596c16964a (diff)
downloadcsoap-a70586322e0d0d09c99e910d02745098234a1e10.tar.gz
csoap-a70586322e0d0d09c99e910d02745098234a1e10.tar.bz2
Add winsock2.h include where required to compile for WIN32
Diffstat (limited to 'libcsoap/soap-nudp.c')
-rw-r--r--libcsoap/soap-nudp.c4
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"