aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-25 09:27:52 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-25 09:27:52 -0500
commit232ccc18c40f0d0302b2e21b0f67885c548f8e63 (patch)
treeb5ad25cb76d4c63389e343d1e699377c55b4c5bc /configure.ac
parent273b267fa234c5a26c9beaacede42a496c880e05 (diff)
downloadtor-232ccc18c40f0d0302b2e21b0f67885c548f8e63.tar.gz
tor-232ccc18c40f0d0302b2e21b0f67885c548f8e63.zip
Include netinet/in.h (if detected) in check for net/pfvar.h
Patch from rubiate; fixes bug 17551.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 06d03ae5c6..3236a812f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -971,6 +971,9 @@ AC_CHECK_HEADERS(net/pfvar.h, net_pfvar_found=1, net_pfvar_found=0,
#endif
#ifdef HAVE_NET_IF_H
#include <net/if.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
#endif])
AC_CHECK_HEADERS(linux/if.h,[],[],