]> granicus.if.org Git - curl/commitdiff
on windows (mingw32) the sockaddr_storage struct is in winsock2.h
authorDaniel Stenberg <daniel@haxx.se>
Sat, 12 Nov 2005 19:11:02 +0000 (19:11 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 12 Nov 2005 19:11:02 +0000 (19:11 +0000)
acinclude.m4

index 5563414b5d69f55f2092222105b959f093783f0d..6cbc3c4e8ee85ed4006baddee5e97446a777bfed 100644 (file)
@@ -141,6 +141,9 @@ AC_DEFUN([TYPE_SOCKADDR_STORAGE],
 #endif
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>
+#endif
+#ifdef HAVE_WINSOCK2_H
+#include <winsock2.h>
 #endif
    ])