about summary refs log tree commit diff
path: root/src/linux/iopl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/iopl.c')
-rw-r--r--src/linux/iopl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux/iopl.c b/src/linux/iopl.c
index 5a626e16..835d3d4e 100644
--- a/src/linux/iopl.c
+++ b/src/linux/iopl.c
@@ -1,7 +1,8 @@
-#include <sys/io.h>
 #include "syscall.h"
 
 #ifdef SYS_iopl
+#include <sys/io.h>
+
 int iopl(int level)
 {
 	return syscall(SYS_iopl, level);