diff --git a/acinclude.m4 b/acinclude.m4 index fb00d098..56659503 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -90,7 +90,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [ #include #include ],[ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(_WIN32_WCE) HAVE_WINSOCK2_H shall not be defined. #else int dummy=2*IPPROTO_ESP; @@ -128,7 +128,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WS2TCPIP], [ #include #include ],[ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(_WIN32_WCE) HAVE_WS2TCPIP_H shall not be defined. #else int dummy=2*IP_PKTINFO;