summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch
deleted file mode 100644
index 68b244698f..0000000000
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 897736166fd709906a5fdf16eb23f8fddff770b5 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Thu, 1 Mar 2018 18:31:01 -0500
4Subject: [PATCH] if_ether: move muslc ethhdr protection to uapi file
5
6Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
7Upstream-Status: Pending
8---
9 include/uapi/linux/if_ether.h | 6 ++++++
10 1 file changed, 6 insertions(+)
11
12diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h
13index 153c9c2..7b69b73 100644
14--- a/include/uapi/linux/if_ether.h
15+++ b/include/uapi/linux/if_ether.h
16@@ -149,6 +149,12 @@
17 * This is an Ethernet frame header.
18 */
19
20+#ifdef _NETINET_IF_ETHER_H /* musl */
21+#define __UAPI_DEF_ETHHDR 0
22+#else /* glibc uses __NETINET_IF_ETHER_H, and includes the kernel header. */
23+#define __UAPI_DEF_ETHHDR 1
24+#endif
25+
26 /* allow libcs like musl to deactivate this, glibc does not implement this. */
27 #ifndef __UAPI_DEF_ETHHDR
28 #define __UAPI_DEF_ETHHDR 1
29--
302.7.4
31