mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-10 18:33:19 +00:00
Try to include relevant parts of macos if_utun.h
To compile without it (pre 10.6) See bug #98
This commit is contained in:
parent
ec5c89a368
commit
6be47466f2
|
@ -31,7 +31,9 @@
|
|||
#include <sys/kern_control.h>
|
||||
#include <sys/sys_domain.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <net/if_utun.h>
|
||||
/* Inline used parts of if_utun.h to compile without it. */
|
||||
#define UTUN_CONTROL_NAME "com.apple.net.utun_control"
|
||||
#define UTUN_OPT_IFNAME 2
|
||||
#include <netinet/ip.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue