From: Jo-Philipp Wich Date: Thu, 18 Jun 2015 21:58:31 +0000 (+0200) Subject: fix musl compatibility X-Git-Tag: release-1.1pre12~112 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=14ccf509540e338502ad806f60bdc3f71ddce66f 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. Conflicts: src/have.h --- diff --git a/src/have.h b/src/have.h index 9dc3b04c..88733a1e 100644 --- a/src/have.h +++ b/src/have.h @@ -206,6 +206,10 @@ #include #endif +#ifdef HAVE_LINUX_IF_TUN_H +#include +#endif + #ifdef STATUS #undef STATUS #endif