From c8cb3a1c22f98d61f5f128303a2b158597963570 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 24 Nov 2001 07:35:12 +0000 Subject: Work around broken m68k kernel headers... Grumble. --- libc/sysdeps/linux/common/syscalls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 9297a81a5..f5c441a6a 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -868,7 +868,8 @@ int fstat(int filedes, struct libc_stat *buf) //#define __NR_iopl 110 #ifdef L_iopl #include -# if defined __UCLIBC_HAS_MMU__ && defined __NR_iopl +/* Tuns out the m68k unistd.h kernel header is broken */ +# if defined __UCLIBC_HAS_MMU__ && defined __NR_iopl && ! defined(__mc68000__) _syscall1(int, iopl, int, level); # else int iopl(int level) -- cgit v1.2.3