diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-07-21 19:21:51 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-07-21 19:21:51 -0700 |
commit | ebe7e154758cf99082d8821ff1b9cafd0a254591 (patch) | |
tree | c1a10774f963535763875dfcf5f3bdda37e428eb /osdep/ManagedRoute.cpp | |
parent | dced40361bcd4f1daf1b101b8ea7d857580e45f3 (diff) | |
download | infinitytier-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.cpp | 1 |
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 |