summaryrefslogtreecommitdiff
path: root/s3switch.c
diff options
context:
space:
mode:
Diffstat (limited to 's3switch.c')
-rw-r--r--s3switch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/s3switch.c b/s3switch.c
index 615bf59..c371eb4 100644
--- a/s3switch.c
+++ b/s3switch.c
@@ -4,8 +4,12 @@
// Linux x86 only.
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <string.h>
#define extern
-#include <asm/io.h>
+#include <sys/io.h>
#undef extern
#include "lrmi.h"