acinclude: fix sockaddr_in6 checvk too

This commit is contained in:
William Pitcock 2016-03-20 04:10:33 -05:00
parent ea83b018b5
commit 71b2af0611

View file

@ -74,9 +74,14 @@ AC_DEFUN([RB_TYPE_STRUCT_SOCKADDR_IN6],[
],[
rb_have_sockaddr_in6=no
],[
#ifndef _WIN32
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#endif
])
if test "X$rb_have_sockaddr_in6" = "Xyes"; then :