mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
Include proper headers for FreeBSD
This commit is contained in:
parent
e49537c8fa
commit
a102a3273e
@ -9,6 +9,12 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#define AF_LINK AF_PACKET
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <net/if_dl.h>
|
||||
#else
|
||||
#include <net/if_dl.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user