<p dir="ltr">What Repercussion does this have wrt APIs headers for future. Provided this is a local patch. I think removing header includes like this can cause issues. </p>
<div class="gmail_extra"><br><div class="gmail_quote">On Oct 3, 2016 9:55 AM, "Bruce Ashfield" <<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">commit 1fe8e0f074c [include/uapi/linux/if_tunnel.<wbr>h: include linux/if.h, linux/ip.h and linux/in6.h]<br>
breaks the builds of net-tools.<br>
<br>
We remove the new includes until such a time that userspace can adapt to the<br>
new kernel headers.<br>
<br>
Signed-off-by: Bruce Ashfield <<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>><br>
---<br>
...1-if_tunnel-remove-include-<wbr>of-if-ip-in6.h.patch | 33 ++++++++++++++++++++++<br>
.../linux-libc-headers/<a href="http://linux-libc-headers_4.8.bb" rel="noreferrer" target="_blank">linux-<wbr>libc-headers_4.8.bb</a> | 1 +<br>
2 files changed, 34 insertions(+)<br>
create mode 100644 meta/recipes-kernel/linux-<wbr>libc-headers/linux-libc-<wbr>headers/0001-if_tunnel-remove-<wbr>include-of-if-ip-in6.h.patch<br>
<br>
diff --git a/meta/recipes-kernel/linux-<wbr>libc-headers/linux-libc-<wbr>headers/0001-if_tunnel-remove-<wbr>include-of-if-ip-in6.h.patch b/meta/recipes-kernel/linux-<wbr>libc-headers/linux-libc-<wbr>headers/0001-if_tunnel-remove-<wbr>include-of-if-ip-in6.h.patch<br>
new file mode 100644<br>
index 000000000000..f2011880dccb<br>
--- /dev/null<br>
+++ b/meta/recipes-kernel/linux-<wbr>libc-headers/linux-libc-<wbr>headers/0001-if_tunnel-remove-<wbr>include-of-if-ip-in6.h.patch<br>
@@ -0,0 +1,33 @@<br>
+From 017ae5929312685c4c044765445bfd<wbr>4d2a4abb5c Mon Sep 17 00:00:00 2001<br>
+From: Bruce Ashfield <<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>><br>
+Date: Mon, 3 Oct 2016 12:27:57 -0400<br>
+Subject: [PATCH] if_tunnel: remove include of if/ip/in6.h<br>
+<br>
+commit 1fe8e0f074c [include/uapi/linux/if_tunnel.<wbr>h: include linux/if.h, linux/ip.h and linux/in6.h]<br>
+breaks the builds of net-tools.<br>
+<br>
+We remove the new includes until such a time that userspace can adapt to the<br>
+new kernel headers.<br>
+<br>
+Signed-off-by: Bruce Ashfield <<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>><br>
+---<br>
+ include/uapi/linux/if_tunnel.h | 3 ---<br>
+ 1 file changed, 3 deletions(-)<br>
+<br>
+diff --git a/include/uapi/linux/if_<wbr>tunnel.h b/include/uapi/linux/if_<wbr>tunnel.h<br>
+index 777b6cd..1046f55 100644<br>
+--- a/include/uapi/linux/if_<wbr>tunnel.h<br>
++++ b/include/uapi/linux/if_<wbr>tunnel.h<br>
+@@ -2,9 +2,6 @@<br>
+ #define _UAPI_IF_TUNNEL_H_<br>
+<br>
+ #include <linux/types.h><br>
+-#include <linux/if.h><br>
+-#include <linux/ip.h><br>
+-#include <linux/in6.h><br>
+ #include <asm/byteorder.h><br>
+<br>
+<br>
+--<br>
+2.7.4<br>
+<br>
diff --git a/meta/recipes-kernel/linux-<wbr>libc-headers/<a href="http://linux-libc-headers_4.8.bb" rel="noreferrer" target="_blank">linux-libc-<wbr>headers_4.8.bb</a> b/meta/recipes-kernel/linux-<wbr>libc-headers/<a href="http://linux-libc-headers_4.8.bb" rel="noreferrer" target="_blank">linux-libc-<wbr>headers_4.8.bb</a><br>
index 778f0b6e6443..ee2d8293450e 100644<br>
--- a/meta/recipes-kernel/linux-<wbr>libc-headers/<a href="http://linux-libc-headers_4.8.bb" rel="noreferrer" target="_blank">linux-libc-<wbr>headers_4.8.bb</a><br>
+++ b/meta/recipes-kernel/linux-<wbr>libc-headers/<a href="http://linux-libc-headers_4.8.bb" rel="noreferrer" target="_blank">linux-libc-<wbr>headers_4.8.bb</a><br>
@@ -10,6 +10,7 @@ SRC_URI_append_libc-musl = "\<br>
<br>
SRC_URI_append = "\<br>
file://0001-ppp-fix-in-if.h-<wbr>includes.patch \<br>
+ file://0001-if_tunnel-remove-<wbr>include-of-if-ip-in6.h.patch \<br>
"<br>
<br>
SRC_URI[md5sum] = "<wbr>c1af0afbd3df35c1ccdc7a5118cd2d<wbr>07"<br>
<font color="#888888">--<br>
2.5.0<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></blockquote></div><br></div>