Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
@@ -8,5 +8,8 @@
*/
#include <sys/syscall.h>
-#include <sys/sysinfo.h>
+
+#ifdef __NR_sysinfo
+# include <sys/sysinfo.h>
_syscall1(int, sysinfo, struct sysinfo *, info)
+#endif