summaryrefslogtreecommitdiffstats
path: root/target-i386
diff options
context:
space:
mode:
authorths2007-11-02 20:08:57 +0100
committerths2007-11-02 20:08:57 +0100
commit80210bcd719c615d3ae9cd851e9e961bac722538 (patch)
tree41efefdcf771be6c06f128a233480a1f2ebef4b7 /target-i386
parentEFAULT - verify pages are in cache and are read/write, by Thayne Harbaugh. (diff)
downloadqemu-80210bcd719c615d3ae9cd851e9e961bac722538.tar.gz
qemu-80210bcd719c615d3ae9cd851e9e961bac722538.tar.xz
qemu-80210bcd719c615d3ae9cd851e9e961bac722538.zip
Fix compiler warnings, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3507 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c
index 7d5275c101..1d59bc5710 100644
--- a/target-i386/helper2.c
+++ b/target-i386/helper2.c
@@ -32,6 +32,7 @@
//#define DEBUG_MMU
#ifdef USE_CODE_COPY
+#include <unistd.h>
#include <asm/ldt.h>
#include <linux/unistd.h>
#include <linux/version.h>