on windows (mingw32) the sockaddr_storage struct is in winsock2.h
This commit is contained in:
@@ -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
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user