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
This commit is contained in:
parent
37588b8d5c
commit
14ccf50954
1 changed files with 4 additions and 0 deletions
|
@ -206,6 +206,10 @@
|
||||||
#include <resolv.h>
|
#include <resolv.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_LINUX_IF_TUN_H
|
||||||
|
#include <linux/if_tun.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef STATUS
|
#ifdef STATUS
|
||||||
#undef STATUS
|
#undef STATUS
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue