You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-cpp/commoncpp2/files/1.8.1-configure_detect_netf...

15 lines
641 B

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" &&