Browse Source

provide sysinfo stub

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 13 years ago
parent
commit
823b22d7c3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      libc/sysdeps/linux/common/sysinfo.c

+ 4 - 1
libc/sysdeps/linux/common/sysinfo.c

@@ -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