diff options
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | 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 fc37aaff6..7eb292699 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 |