diff options
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch index b5c4e1750e..b0e7014138 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch | |||
@@ -13,17 +13,17 @@ Upstream-Status: Submitted | |||
13 | include/uapi/linux/kernel.h | 2 ++ | 13 | include/uapi/linux/kernel.h | 2 ++ |
14 | 1 file changed, 2 insertions(+) | 14 | 1 file changed, 2 insertions(+) |
15 | 15 | ||
16 | Index: linux-4.8-rc4/include/uapi/linux/kernel.h | 16 | Index: linux-5.12.11/include/uapi/linux/kernel.h |
17 | =================================================================== | 17 | =================================================================== |
18 | --- linux-4.8-rc4.orig/include/uapi/linux/kernel.h | 18 | --- linux-5.12.11.orig/include/uapi/linux/kernel.h |
19 | +++ linux-4.8-rc4/include/uapi/linux/kernel.h | 19 | +++ linux-5.12.11/include/uapi/linux/kernel.h |
20 | @@ -1,7 +1,9 @@ | 20 | @@ -2,7 +2,9 @@ |
21 | #ifndef _UAPI_LINUX_KERNEL_H | 21 | #ifndef _UAPI_LINUX_KERNEL_H |
22 | #define _UAPI_LINUX_KERNEL_H | 22 | #define _UAPI_LINUX_KERNEL_H |
23 | 23 | ||
24 | +#ifdef __GLIBC__ | 24 | +#ifdef __GLIBC__ |
25 | #include <linux/sysinfo.h> | 25 | #include <linux/sysinfo.h> |
26 | #include <linux/const.h> | ||
26 | +#endif | 27 | +#endif |
27 | 28 | ||
28 | /* | 29 | #endif /* _UAPI_LINUX_KERNEL_H */ |
29 | * 'kernel.h' contains some often-used function prototypes etc | ||