diff options
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 6 |
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> |