summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch b/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
index 11760b93227c..aa52ff9bd141 100644
--- a/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
+++ b/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
@@ -13,12 +13,13 @@ as none of its functionality is needed.
--- a/include/uapi/linux/kernel.h
+++ b/include/uapi/linux/kernel.h
-@@ -4,7 +4,7 @@
+@@ -2,7 +2,9 @@
+ #ifndef _UAPI_LINUX_KERNEL_H
+ #define _UAPI_LINUX_KERNEL_H
- #ifdef __GLIBC__
++#ifdef __GLIBC__
#include <linux/sysinfo.h>
--#include <linux/const.h>
- #endif
-+#include <linux/const.h>
++#endif
+ #include <linux/const.h>
#endif /* _UAPI_LINUX_KERNEL_H */