[git commit] provide sysinfo stub
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:39 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=823b22d7c34c8f12b72fde4666a799429ffb06dd
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/sysdeps/linux/common/sysinfo.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/libc/sysdeps/linux/common/sysinfo.c b/libc/sysdeps/linux/common/sysinfo.c
index fc37aaf..7eb2926 100644
--- a/libc/sysdeps/linux/common/sysinfo.c
+++ b/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
More information about the uClibc-cvs
mailing list