summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f5b909a)
raw | patch | inline | side by side (parent: f5b909a)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 16 Aug 2015 12:39:23 +0000 (14:39 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 26 Aug 2015 21:32:34 +0000 (23:32 +0200) |
configure.ac | patch | blob | history | |
src/pf.c | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index b6e3284403543b4b7a2fb13171499cdea9ed84c7..be1f02ef46dee175a28ed7e2972b827f97fb33d8 100644 (file)
--- a/configure.ac
+++ b/configure.ac
#if HAVE_NET_IF_H
# include <net/if.h>
#endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
])
# For the multimeter plugin
diff --git a/src/pf.c b/src/pf.c
index 44f0c7bcdec158b3244ec6f7b0d9212b9cd652d5..4e35cf661403bf4f84c72d462d820301a3cc1a22 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
#if HAVE_NET_IF_H
# include <net/if.h>
#endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
#include <net/pfvar.h>