Merge branch 'collectd-5.5'
[collectd.git] / src / pf.c
index 29f3a3d..a2bd549 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
 #if HAVE_SYS_IOCTL_H
 # include <sys/ioctl.h>
 #endif
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
 #if HAVE_NET_IF_H
 # include <net/if.h>
 #endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
 
 #include <net/pfvar.h>