Export x86_stack_size in qemu.h

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5427 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 1fdd184..becf515 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -545,8 +545,6 @@
 	memcpy(to, from, n);
 }
 
-extern unsigned long x86_stack_size;
-
 static int load_aout_interp(void * exptr, int interp_fd);
 
 #ifdef BSWAP_NEEDED
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index a12cc9b..a2abe51 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -247,6 +247,9 @@
 void mmap_fork_end(int child);
 #endif
 
+/* main.c */
+extern unsigned long x86_stack_size;
+
 /* user access */
 
 #define VERIFY_READ 0