aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-02 10:12:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-02 10:12:22 +0000
commit24d47a6e07304cf0921f2d30734b3c64360773c3 (patch)
tree03bae425fc10d6c083e866a3e1ab5bf620dffe42 /lib/setup.h
parent8a66584db4ab3bd1668a685785da7108f7550e95 (diff)
Paul Nolan fix to make libcurl build nicely on Windows CE
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index c6ee81181..f121b7320 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -40,11 +40,15 @@
#ifdef HAVE_CONFIG_H
#include "config.h" /* the configure script results */
#else
+#ifdef _WIN32_WCE
+#include "config-win32ce.h"
+#else
#ifdef WIN32
/* hand-modified win32 config.h! */
#include "config-win32.h"
#endif
#endif
+#endif
#ifdef macintosh
/* hand-modified MacOS config.h! */
@@ -173,7 +177,9 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
#define _WIN32_WINNT 0x0501
#endif
+#if HAVE_WINSOCK2_H
#include <winsock2.h> /* required by telnet.c */
+#endif
#if defined(ENABLE_IPV6) || defined(USE_SSLEAY)
#include <ws2tcpip.h>