summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-27 14:57:54 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-27 14:57:54 +0000
commit23eaf72eb88953da4452c30d4974113b9527952c (patch)
treeb492104742084030ceeea5e01467cbce69b3cc08 /libc/sysdeps/linux/common
parente95f6472b03e5c2672638a047e64e47190080b54 (diff)
s|sys/perm.h|sys/io.h|, thx vapier
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/ioperm.c2
-rw-r--r--libc/sysdeps/linux/common/iopl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index d4795f526..b448d2a0d 100644
--- a/libc/sysdeps/linux/common/ioperm.c
+++ b/libc/sysdeps/linux/common/ioperm.c
@@ -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
diff --git a/libc/sysdeps/linux/common/iopl.c b/libc/sysdeps/linux/common/iopl.c
index 4f21b55f5..36126d832 100644
--- a/libc/sysdeps/linux/common/iopl.c
+++ b/libc/sysdeps/linux/common/iopl.c
@@ -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