mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
acinclude: fix sockaddr_in6 checvk too
This commit is contained in:
parent
ea83b018b5
commit
71b2af0611
1 changed files with 5 additions and 0 deletions
|
@ -74,9 +74,14 @@ AC_DEFUN([RB_TYPE_STRUCT_SOCKADDR_IN6],[
|
||||||
],[
|
],[
|
||||||
rb_have_sockaddr_in6=no
|
rb_have_sockaddr_in6=no
|
||||||
],[
|
],[
|
||||||
|
#ifndef _WIN32
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
#else
|
||||||
|
#include <winsock2.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
|
#endif
|
||||||
])
|
])
|
||||||
|
|
||||||
if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
|
if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
|
||||||
|
|
Loading…
Reference in a new issue