projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add linux extension POLLRDHUP to poll.h
[musl]
/
src
/
linux
/
ioperm.c
diff --git
a/src/linux/ioperm.c
b/src/linux/ioperm.c
index
6d7c37d
..
08c6d8b
100644
(file)
--- a/
src/linux/ioperm.c
+++ b/
src/linux/ioperm.c
@@
-1,7
+1,8
@@
-#include <sys/io.h>
#include "syscall.h"
#ifdef SYS_ioperm
+#include <sys/io.h>
+
int ioperm(unsigned long from, unsigned long num, int turn_on)
{
return syscall(SYS_ioperm, from, num, turn_on);