mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
on windows (mingw32) the sockaddr_storage struct is in winsock2.h
This commit is contained in:
parent
042016b85e
commit
be524fed38
@ -141,6 +141,9 @@ AC_DEFUN([TYPE_SOCKADDR_STORAGE],
|
|||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ARPA_INET_H
|
#ifdef HAVE_ARPA_INET_H
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_WINSOCK2_H
|
||||||
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user