Commit e077b598 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

- Fix getnameinfo detection on Win32

parent 4eb36d2e
......@@ -406,6 +406,7 @@ AC_CACHE_CHECK([for getnameinfo], ac_cv_func_getnameinfo,
# include <winsock.h>
#elif defined( WIN32 )
# include <winsock2.h>
# include <ws2tcpip.h>
#else
# include <sys/socket.h>
# include <netdb.h>
......@@ -427,6 +428,7 @@ AC_CACHE_CHECK([for gai_strerror], ac_cv_func_gai_strerror,
# include <winsock.h>
#elif defined( WIN32 )
# include <winsock2.h>
# include <ws2tcpip.h>
#else
# include <sys/socket.h>
# include <netdb.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment