summaryrefslogtreecommitdiffstats
path: root/external/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-include-linux-sysinfo.h-directly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-include-linux-sysinfo.h-directly.patch')
-rw-r--r--external/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-include-linux-sysinfo.h-directly.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/external/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-include-linux-sysinfo.h-directly.patch b/external/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-include-linux-sysinfo.h-directly.patch
deleted file mode 100644
index 04c97fc5..00000000
--- a/external/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-include-linux-sysinfo.h-directly.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From d966d52d1e569cbc2293d841285e2b8941f28c61 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 9 Jul 2017 15:56:28 -0700
-Subject: [PATCH] include linux/sysinfo.h directly
-
-This is done to avoid the kernel header linux/kernel.h to use
-__GLIBC__ define to decide on if libc implements sysinfo() API
-or not. Kernel headers should be independent of such assumptions
-but until its done in right place, change the local header
-override to avoid this assumption
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
----
- usr/include/sys/sysinfo.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/usr/include/sys/sysinfo.h b/usr/include/sys/sysinfo.h
-index dba68dc..d145c0b 100644
---- a/usr/include/sys/sysinfo.h
-+++ b/usr/include/sys/sysinfo.h
-@@ -5,7 +5,7 @@
- #ifndef _SYS_SYSINFO_H
- #define _SYS_SYSINFO_H
-
--#include <linux/kernel.h>
-+#include <linux/sysinfo.h>
-
- extern int sysinfo(struct sysinfo *info);
-