From: Guus Sliepen Date: Sun, 10 Apr 2016 11:40:42 +0000 (+0200) Subject: Fix compiling bsd/device.c on systems without utun. X-Git-Tag: release-1.0.28~7 X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=commitdiff_plain;h=755963f0b19378bf3f416d0aef14acf7d905a275;hp=70a006910ac063b55ddfd66432c286efda974633;ds=sidebyside Fix compiling bsd/device.c on systems without utun. --- diff --git a/src/bsd/device.c b/src/bsd/device.c index e3148bd..46879e4 100644 --- a/src/bsd/device.c +++ b/src/bsd/device.c @@ -49,9 +49,7 @@ typedef enum device_type { #ifdef ENABLE_TUNEMU DEVICE_TYPE_TUNEMU, #endif -#ifdef HAVE_NET_IF_UTUN_H DEVICE_TYPE_UTUN, -#endif } device_type_t; int device_fd = -1;