From 71b2af0611792ce69b744ffc6d5bbb3182b1b006 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 04:10:33 -0500 Subject: [PATCH] acinclude: fix sockaddr_in6 checvk too --- librb/acinclude.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/librb/acinclude.m4 b/librb/acinclude.m4 index a839aa024..e0474339b 100644 --- a/librb/acinclude.m4 +++ b/librb/acinclude.m4 @@ -74,9 +74,14 @@ AC_DEFUN([RB_TYPE_STRUCT_SOCKADDR_IN6],[ ],[ rb_have_sockaddr_in6=no ],[ +#ifndef _WIN32 #include #include #include +#else +#include +#include +#endif ]) if test "X$rb_have_sockaddr_in6" = "Xyes"; then :