Code

configure.in: Make sure sa_familiy_t is defined when checking rtnl_dump_filter().
authorFlorian Forster <octo@collectd.org>
Tue, 11 Sep 2012 07:54:32 +0000 (09:54 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 11 Sep 2012 07:54:32 +0000 (09:54 +0200)
configure.in

index 58c9d279c20c1022c511260f3162c7960602fa63..00fbad03817a6884f57d8319cb4ddbbefe704806 100644 (file)
@@ -2201,6 +2201,8 @@ then
                AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
                                [
 AC_INCLUDES_DEFAULT
+#include <asm/types.h>
+#include <sys/socket.h>
 #if HAVE_LIBNETLINK_H
 # include <libnetlink.h>
 #elif HAVE_IPROUTE_LIBNETLINK_H
@@ -2226,6 +2228,8 @@ return 0;
                AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
                                [
 AC_INCLUDES_DEFAULT
+#include <asm/types.h>
+#include <sys/socket.h>
 #if HAVE_LIBNETLINK_H
 # include <libnetlink.h>
 #elif HAVE_IPROUTE_LIBNETLINK_H