summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Guenther <agx@debian.org>2003-04-23 23:27:30 +0200
committerTormod Volden <debian.tormod@gmail.com>2011-11-06 21:09:18 +0100
commit6df7f37aa5535ab6a312abf7e8cd4b7dea5e92ad (patch)
tree4a0de4dfa6ea7b9f33a5c8e22fcf9084cd0ae48b
parentd1d2a50fb45f6634acbf6ca92871826edd8f7c8f (diff)
Fix includes in s3switch.c to kill gcc warnings
-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"