summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-05 14:22:30 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-05 14:22:30 +0000
commit134392384ed11a2aa68a09dc7310cebec3b0b960 (patch)
tree2cbb04f0d1c68488de79961ea877ee47b755355f /libc/sysdeps
parent20933077ad8d59e37a018ef6fb4bdbb9d67aa865 (diff)
Remove sys/io.h include, since not everyone has it
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index bd682c96e..37abc73a1 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -738,7 +738,6 @@ _syscall2(int, fstatfs, int, fd, struct statfs *, buf);
//#define __NR_ioperm 101
#ifdef L_ioperm
-#include <sys/io.h>
# if defined __UCLIBC_HAS_MMU__ && defined __NR_ioperm
_syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on);
# else
@@ -862,7 +861,6 @@ int fstat(int filedes, struct libc_stat *buf)
//#define __NR_iopl 110
#ifdef L_iopl
-#include <sys/io.h>
/* 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);