aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-07-10 12:15:49 -0400
committerNeel Chauhan <neel@neelc.org>2018-07-10 12:32:14 -0400
commit6d58c20d944b7b9056fc260f29452d2627b3e9f5 (patch)
treeb6b07a73b1be9955ad7c0ca02deada797915519a /src/core
parent3145e469d8d72ccc2a4e9317c83331df7cc29803 (diff)
downloadtor-6d58c20d944b7b9056fc260f29452d2627b3e9f5.tar.gz
tor-6d58c20d944b7b9056fc260f29452d2627b3e9f5.zip
Fix build on FreeBSD post-refactor
Diffstat (limited to 'src/core')
-rw-r--r--src/core/or/connection_edge.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/or/connection_edge.c b/src/core/or/connection_edge.c
index 8e8a5e21ca..c51e428000 100644
--- a/src/core/or/connection_edge.c
+++ b/src/core/or/connection_edge.c
@@ -129,6 +129,13 @@
#endif
#endif /* defined(HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H) */
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
+
#if defined(HAVE_NET_IF_H) && defined(HAVE_NET_PFVAR_H)
#include <net/if.h>
#include <net/pfvar.h>