aboutsummaryrefslogtreecommitdiff
blob: b6ebf0e0f4a4e5d3fd2c42918dabcfe00606b3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/m4/ost_socket.m4 b/m4/ost_socket.m4
index bd9db7c..122c938 100644
--- a/m4/ost_socket.m4
+++ b/m4/ost_socket.m4
@@ -93,6 +93,9 @@ AC_DEFUN([OST_SYS_SOCKET],[
                 AC_CHECK_HEADERS([linux/netfilter_ipv4.h linux/netfilter_ipv6.h],,,
                     [#ifdef HAVE_LIMITS_H
                     #include <limits.h>
+                    #endif
+                    #ifdef HAVE_NETINET_IN_H
+                    #include <netinet/in.h>
                     #endif])
                 if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes" &&
                    [ test "$ac_cv_header_linux_netfilter_ipv6_h" = "yes" &&