diff options
author | oxalica <oxalicc@pm.me> | 2019-11-10 20:08:22 +0800 |
---|---|---|
committer | oxalica <oxalicc@pm.me> | 2019-11-19 14:17:34 +0800 |
commit | b14e947de37335b49cc12e4b51faf30cf455743b (patch) | |
tree | 8da47001fd76e44fa8a0aeec19d95373d606aa1f /ci/sysinfo_guard.patch | |
parent | 779a08b91fa150490ea121562bd72b1afb919246 (diff) | |
download | rust-libc-b14e947de37335b49cc12e4b51faf30cf455743b.tar.gz |
Upgrade to musl 1.1.24 in CI
Diffstat (limited to 'ci/sysinfo_guard.patch')
-rw-r--r-- | ci/sysinfo_guard.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/sysinfo_guard.patch b/ci/sysinfo_guard.patch new file mode 100644 index 0000000000..69fb795c0d --- /dev/null +++ b/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 |