liboconfig: Fix implicit declaration warning
[collectd.git] / configure.ac
index b6e3284..be1f02e 100644 (file)
@@ -624,6 +624,9 @@ AC_CHECK_HEADERS(net/pfvar.h,
 #if HAVE_NET_IF_H
 # include <net/if.h>
 #endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
 ])
 
 # For the multimeter plugin