rust-libc/ci/sysinfo_guard.patch

11 lines
180 B
Diff

@@ -2,7 +2,9 @@
#ifndef _LINUX_KERNEL_H
#define _LINUX_KERNEL_H
+#ifdef __GLIBC__
#include <linux/sysinfo.h>
+#endif
#include <linux/const.h>
#endif /* _LINUX_KERNEL_H */