summaryrefslogtreecommitdiffstats
path: root/target-i386
diff options
context:
space:
mode:
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>