sys/sysctl.h is required on OSX and probably other BSD
This commit is contained in:
parent
dced40361b
commit
ebe7e15475
3 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
#include <net/if.h>
|
||||
#ifdef __BSD__
|
||||
#include <net/if_dl.h>
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#include <ifaddrs.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue