diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-30 20:25:02 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-30 20:25:02 +0000 |
commit | be03a186ed1fb95ba9f07ab81e698fdd2ca0e553 (patch) | |
tree | 56c4417d3cb62606fd3a4bfe3f9841211438de71 /libc/sysdeps/linux/common/syscalls.c | |
parent | ec2653144beb2be8b1e2e844d937a1a11c506af0 (diff) |
It seems ARM 2.4.x kernels do not have iopl. Also add missing
bits/sem.h for ARM so everything now compiles and runs.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 2 |
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> |