summaryrefslogtreecommitdiffstats
path: root/main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch')
-rw-r--r--main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch b/main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch
new file mode 100644
index 000000000..0b4cfb122
--- /dev/null
+++ b/main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch
@@ -0,0 +1,12 @@
+--- ./include/uapi/linux/kernel.h.orig
++++ ./include/uapi/linux/kernel.h
+@@ -1,7 +1,9 @@
+ #ifndef _UAPI_LINUX_KERNEL_H
+ #define _UAPI_LINUX_KERNEL_H
+
++#ifdef __GLIBC__
+ #include <linux/sysinfo.h>
++#endif
+
+ /*
+ * 'kernel.h' contains some often-used function prototypes etc