1From d966d52d1e569cbc2293d841285e2b8941f28c61 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Sun, 9 Jul 2017 15:56:28 -0700 4Subject: [PATCH] include linux/sysinfo.h directly 5 6This is done to avoid the kernel header linux/kernel.h to use 7__GLIBC__ define to decide on if libc implements sysinfo() API 8or not. Kernel headers should be independent of such assumptions 9but until its done in right place, change the local header 10override to avoid this assumption 11 12Signed-off-by: Khem Raj <raj.khem@gmail.com> 13 14--- 15Upstream-Status: Pending 16 17 usr/include/sys/sysinfo.h | 2 +- 18 1 file changed, 1 insertion(+), 1 deletion(-) 19 20--- a/usr/include/sys/sysinfo.h 21+++ b/usr/include/sys/sysinfo.h 22@@ -6,7 +6,7 @@ 23 #define _SYS_SYSINFO_H 24 25 #include <sys/types.h> 26-#include <linux/kernel.h> 27+#include <linux/sysinfo.h> 28 29 extern int sysinfo(struct sysinfo *info); 30 31