diff --git a/src/tun.c b/src/tun.c index 379ca44..1f4585d 100644 --- a/src/tun.c +++ b/src/tun.c @@ -31,7 +31,9 @@ #include #include #include -#include +/* 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 #endif