Răsfoiți Sursa

Remove sys/io.h include, since not everyone has it

Eric Andersen 23 ani în urmă
părinte
comite
134392384e
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      libc/sysdeps/linux/common/syscalls.c

+ 0 - 2
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);