libc-rs/ci/sysinfo_guard.patch

11 lines
192 B
Diff
Raw Permalink Normal View History

2019-11-10 13:08:22 +01:00
@@ -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