summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-17 20:52:17 +0100
committerGravatar Martin Szulecki2013-02-17 20:52:17 +0100
commitcd64e028647552569a45bc8713349238fcd3e709 (patch)
treecedae662ca59ef997febc9b3e84b8c2bc387088b
parenta32e42daf6e5f8061390dad1674726275ab1e323 (diff)
downloadcsoap-cd64e028647552569a45bc8713349238fcd3e709.tar.gz
csoap-cd64e028647552569a45bc8713349238fcd3e709.tar.bz2
Fix include typos for WIN32
-rw-r--r--nanohttp/nanohttp-server.c2
-rw-r--r--nanohttp/nanohttp-ssl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-server.c b/nanohttp/nanohttp-server.c
index df87dc1..719bc98 100644
--- a/nanohttp/nanohttp-server.c
+++ b/nanohttp/nanohttp-server.c
@@ -30,7 +30,7 @@
#include <sys/select.h>
#endif
-#ifdef HAVE_SOCKET_H
+#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c
index 8b0f9ff..a92485f 100644
--- a/nanohttp/nanohttp-ssl.c
+++ b/nanohttp/nanohttp-ssl.c
@@ -30,7 +30,7 @@
#include <sys/types.h>
#endif
-#ifdef HAVE_SYS_TYPES_H
+#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif