sys/sysctl.h is required on OSX and probably other BSD

This commit is contained in:
Adam Ierymenko 2016-07-21 19:21:51 -07:00
commit ebe7e15475
3 changed files with 3 additions and 0 deletions

View file

@ -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__