summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-01-24 15:39:16 -0800
committerDan Gohman <dev@sunfishcode.online>2022-01-24 15:39:16 -0800
commit10cdc9fe4931d1438265775018ba01a7bc8c663f (patch)
treeab8b170e5d143b24ebb1fee4cd52ea28c9e14a8d
parent3eddcc6d294d44e236642228ba9546555ecc8412 (diff)
downloadrust-libc-10cdc9fe4931d1438265775018ba01a7bc8c663f.tar.gz
Update the sysinfo_guard.patch patch for the new toolchain.
-rw-r--r--ci/sysinfo_guard.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/sysinfo_guard.patch b/ci/sysinfo_guard.patch
index 69fb795c0d..7ca46db324 100644
--- a/ci/sysinfo_guard.patch
+++ b/ci/sysinfo_guard.patch
@@ -5,6 +5,6 @@
+#ifdef __GLIBC__
#include <linux/sysinfo.h>
+#endif
+ #include <linux/const.h>
- /*
- * 'kernel.h' contains some often-used function prototypes etc
+ #endif /* _LINUX_KERNEL_H */