projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37588b8
)
fix musl compatibility
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 18 Jun 2015 21:58:31 +0000
(23:58 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 4 Jul 2015 15:34:37 +0000
(17:34 +0200)
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
src/have.h
patch
|
blob
|
history
diff --git
a/src/have.h
b/src/have.h
index
9dc3b04
..
88733a1
100644
(file)
--- a/
src/have.h
+++ b/
src/have.h
@@
-206,6
+206,10
@@
#include <resolv.h>
#endif
+#ifdef HAVE_LINUX_IF_TUN_H
+#include <linux/if_tun.h>
+#endif
+
#ifdef STATUS
#undef STATUS
#endif