summaryrefslogtreecommitdiff
path: root/osdep/ManagedRoute.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-21 19:21:51 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-21 19:21:51 -0700
commitebe7e154758cf99082d8821ff1b9cafd0a254591 (patch)
treec1a10774f963535763875dfcf5f3bdda37e428eb /osdep/ManagedRoute.cpp
parentdced40361bcd4f1daf1b101b8ea7d857580e45f3 (diff)
downloadinfinitytier-ebe7e154758cf99082d8821ff1b9cafd0a254591.tar.gz
infinitytier-ebe7e154758cf99082d8821ff1b9cafd0a254591.zip
sys/sysctl.h is required on OSX and probably other BSD
Diffstat (limited to 'osdep/ManagedRoute.cpp')
-rw-r--r--osdep/ManagedRoute.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp
index 264866fc..0bb74c1a 100644
--- a/osdep/ManagedRoute.cpp
+++ b/osdep/ManagedRoute.cpp
@@ -42,6 +42,7 @@
#include <net/if.h>
#ifdef __BSD__
#include <net/if_dl.h>
+#include <sys/sysctl.h>
#endif
#include <ifaddrs.h>
#endif