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 /ext | |
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 'ext')
-rw-r--r-- | ext/libnatpmp/getgateway.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/libnatpmp/getgateway.c b/ext/libnatpmp/getgateway.c index 7f314152..f743a089 100644 --- a/ext/libnatpmp/getgateway.c +++ b/ext/libnatpmp/getgateway.c @@ -53,6 +53,7 @@ POSSIBILITY OF SUCH DAMAGE. #undef USE_PROC_NET_ROUTE #define USE_SOCKET_ROUTE #undef USE_SYSCTL_NET_ROUTE +#include <sys/sysctl.h> #endif #ifdef __APPLE__ |