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 5563414..6cbc3c4 100644 (file)
@@ -142,6 +142,9 @@ AC_DEFUN([TYPE_SOCKADDR_STORAGE],
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>
 #endif
+#ifdef HAVE_WINSOCK2_H
+#include <winsock2.h>
+#endif
    ])
 
 ])