doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git] / modules / socklen
index 99b9e4d..556336b 100644 (file)
@@ -5,7 +5,6 @@ Files:
 m4/socklen.m4
 
 Depends-on:
-sys_socket
 
 configure.ac:
 gl_TYPE_SOCKLEN_T
@@ -14,7 +13,11 @@ Makefile.am:
 
 Include:
 #include <sys/types.h>
-#include <sys/socket.h>
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#elif HAVE_WS2TCPIP_H
+# include <ws2tcpip.h>
+#endif
 
 License:
 unlimited