summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 4244d9be8..f93760478 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -802,7 +802,7 @@ int fstat(int filedes, struct libc_stat *buf)
//#define __NR_olduname 109
-#ifdef __UCLIBC_HAS_MMU__
+#if defined __UCLIBC_HAS_MMU__ && defined __NR_iopl
//#define __NR_iopl 110
#ifdef L_iopl
#include <sys/io.h>