diff --git a/src/tun.c b/src/tun.c index 379ca447..1f4585d1 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