From: Jo-Philipp Wich Date: Thu, 18 Jun 2015 21:58:31 +0000 (+0200) Subject: fix musl compatibility X-Git-Tag: release-1.0.26~9 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=a04fd9d0c9babca461cee186677db8f607677c6a;p=tinc fix musl compatibility Let configure include sys/if_tun.h when testing for netinet/if_ether.h to detect the Kernel/libc header conflict on musl. After this patch, configure will correctly detect netinet/if_ether.h as unusable and the subsequent compilation will not attempt to use it. --- diff --git a/src/have.h b/src/have.h index e83f98f4..69d5100e 100644 --- a/src/have.h +++ b/src/have.h @@ -207,4 +207,8 @@ #include #endif +#ifdef HAVE_LINUX_IF_TUN_H +#include +#endif + #endif /* __TINC_SYSTEM_H__ */