From 6167a20f664e6bf46ca4fce4b2b608dd1249000f Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 27 Jan 2006 15:18:17 +0000 Subject: Add back explicit prototype, archs miss sys/io.h, remove m68k exclusion --- libc/sysdeps/linux/common/ioperm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/ioperm.c') diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c index b448d2a0d..fc57a97e1 100644 --- a/libc/sysdeps/linux/common/ioperm.c +++ b/libc/sysdeps/linux/common/ioperm.c @@ -9,6 +9,7 @@ #include "syscalls.h" #if defined __ARCH_HAS_MMU__ && defined __NR_ioperm -#include +/* psm: can't #include , some archs miss it */ +extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on) __THROW; _syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on); #endif -- cgit v1.2.3