mirror of
https://github.com/curl/curl.git
synced 2026-06-17 05:55:39 +03:00
on windows (mingw32) the sockaddr_storage struct is in winsock2.h
This commit is contained in:
parent
042016b85e
commit
be524fed38
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue