aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-02 19:08:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-02 19:08:57 +0000
commit80210bcd719c615d3ae9cd851e9e961bac722538 (patch)
tree41efefdcf771be6c06f128a233480a1f2ebef4b7 /target-i386
parent3d97b40b05c61d6d85ad1ab9cbb72a076db2aa74 (diff)
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>