mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-25 14:33:32 +02: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
1 changed files with 3 additions and 1 deletions
|
@ -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