aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/sysinfo_guard.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/sysinfo_guard.patch')
-rw-r--r--libc/ci/sysinfo_guard.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/ci/sysinfo_guard.patch b/libc/ci/sysinfo_guard.patch
new file mode 100644
index 0000000..69fb795
--- /dev/null
+++ b/libc/ci/sysinfo_guard.patch
@@ -0,0 +1,10 @@
+@@ -2,7 +2,9 @@
+ #ifndef _LINUX_KERNEL_H
+ #define _LINUX_KERNEL_H
+
++#ifdef __GLIBC__
+ #include <linux/sysinfo.h>
++#endif
+
+ /*
+ * 'kernel.h' contains some often-used function prototypes etc