浏览代码

s|sys/perm.h|sys/io.h|, thx vapier

Peter S. Mazinger 19 年之前
父节点
当前提交
23eaf72eb8
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      libc/sysdeps/linux/common/ioperm.c
  2. 1 1
      libc/sysdeps/linux/common/iopl.c

+ 1 - 1
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

+ 1 - 1
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