WinCE: check for winsock2.h instead of winsock.h
authorGeoffroy Couprie <geo.couprie@gmail.com>
Mon, 29 Sep 2008 16:50:45 +0000 (18:50 +0200)
committerGeoffroy Couprie <geo.couprie@gmail.com>
Mon, 29 Sep 2008 16:50:45 +0000 (18:50 +0200)
configure.ac

index aab505c..e7988e6 100644 (file)
@@ -568,7 +568,7 @@ AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_struct_sockaddr_storage,
   [AC_TRY_COMPILE(
     [#include <sys/types.h>
      #if defined( UNDER_CE )
-     # include <winsock.h>
+     # include <winsock2.h>
      #elif defined( WIN32 )
      # include <winsock2.h>
      #else