summaryrefslogtreecommitdiffstats
path: root/main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-25 18:40:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-25 18:40:54 +0000
commitd2bf04f6c61c8900da1ee537b3a630a484d2d2a8 (patch)
tree013ffbfcb161b409461d141afe798fce45c8d1b5 /main/linux-headers/1-4-glibc-specific-inclusion-of-sysinfo.h-in-kernel.h.patch
parente1f4fcf83fb502adee53388e7722721f2c11d2e3 (diff)
downloadaports-d2bf04f6c61c8900da1ee537b3a630a484d2d2a8.tar.bz2
aports-d2bf04f6c61c8900da1ee537b3a630a484d2d2a8.tar.xz
main/linux-headers: musl compat fixes
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