OSDN Git Service

s|sys/perm.h|sys/io.h|, thx vapier
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 27 Jan 2006 14:57:54 +0000 (14:57 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Fri, 27 Jan 2006 14:57:54 +0000 (14:57 -0000)
libc/sysdeps/linux/common/ioperm.c
libc/sysdeps/linux/common/iopl.c

index d4795f5..b448d2a 100644 (file)
@@ -9,6 +9,6 @@
 
 #include "syscalls.h"
 #if defined __ARCH_HAS_MMU__ && defined __NR_ioperm
-#include <sys/perm.h>
+#include <sys/io.h>
 _syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on);
 #endif
index 4f21b55..36126d8 100644 (file)
@@ -10,6 +10,6 @@
 #include "syscalls.h"
 /* Tuns out the m68k unistd.h kernel header is broken */
 #if defined __ARCH_HAS_MMU__ && defined __NR_iopl && ( !defined(__mc68000__))
-#include <sys/perm.h>
+#include <sys/io.h>
 _syscall1(int, iopl, int, level);
 #endif