diff options
Diffstat (limited to 'nanoftp.c')
-rw-r--r-- | nanoftp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -77,7 +77,7 @@ #endif -#ifdef __MINGW32__ +#if defined(__MINGW32__) || defined(_WIN32_WCE) #define _WINSOCKAPI_ #include <wsockcompat.h> #include <winsock2.h> @@ -102,8 +102,10 @@ #endif #ifdef _AIX +#ifdef HAVE_BROKEN_SS_FAMILY #define ss_family __ss_family #endif +#endif #ifndef XML_SOCKLEN_T #define XML_SOCKLEN_T unsigned int |