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
1 changed files with 3 additions and 0 deletions

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