Don't bother checking for winsock2.h and mswsock.h in the configure
script as we include these unconditionally when building for Windows
anyway.
/* Define to 1 if you have the `wcslen' function. */
#define HAVE_WCSLEN 1
-/* We are not checking for windows.h, why this? */
-#define HAVE_WINSOCK2_H 1
-
/* Define if you have the 'wint_t' type. */
#define HAVE_WINT_T 1
fi
AC_CHECK_FUNCS(getprotobyname_r endservent)
-AC_CHECK_HEADERS([netdb.h winsock2.h mswsock.h wspiapi.h])
+AC_CHECK_HEADERS([netdb.h wspiapi.h])
# For gio/libasyncns
if test $glib_native_win32 = no; then