1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

on windows (mingw32) the sockaddr_storage struct is in winsock2.h

This commit is contained in:
Daniel Stenberg 2005-11-12 19:11:02 +00:00
parent 042016b85e
commit be524fed38

View 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
])