summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-18 01:41:38 +0100
committerGravatar Martin Szulecki2013-02-18 01:41:38 +0100
commitfe8198c6ec12d20cbdfdad13d3cc077dee48a6e6 (patch)
treeae5140619210cdb6913cd86e26ad8e31e4b0bb96
parentd59524aa95f17f53ccf21bf1da38a8c1c2d64577 (diff)
downloadcsoap-fe8198c6ec12d20cbdfdad13d3cc077dee48a6e6.tar.gz
csoap-fe8198c6ec12d20cbdfdad13d3cc077dee48a6e6.tar.bz2
Fix compilation of transport for WIN32 builds
-rw-r--r--libcsoap/soap-transport.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcsoap/soap-transport.c b/libcsoap/soap-transport.c
index cce1272..6ec6484 100644
--- a/libcsoap/soap-transport.c
+++ b/libcsoap/soap-transport.c
@@ -44,6 +44,10 @@
#include <libxml/tree.h>
#include <libxml/uri.h>
+#ifdef WIN32
+#include <winsock2.h>
+#endif
+
#include <nanohttp/nanohttp-error.h>
#include "soap-logging.h"