From be03a186ed1fb95ba9f07ab81e698fdd2ca0e553 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 Mar 2001 20:25:02 +0000 Subject: 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 --- libc/sysdeps/linux/common/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/syscalls.c') 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 -- cgit v1.2.3