summaryrefslogtreecommitdiffstats
path: root/byterun/fix_code.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2002-03-06 13:32:30 +0000
committerDamien Doligez <damien.doligez-inria.fr>2002-03-06 13:32:30 +0000
commitb3e52122e26ee1bed8bb18058b5da2baf5fad7a9 (patch)
treecf291380081c956248aa40559622ae07a9899cc7 /byterun/fix_code.c
parent9a4394216185686da9dfa91d39808e2b78c4a4d8 (diff)
problemes d'includes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/fix_code.c')
-rw-r--r--byterun/fix_code.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/byterun/fix_code.c b/byterun/fix_code.c
index 749bb0237..886dcbb07 100644
--- a/byterun/fix_code.c
+++ b/byterun/fix_code.c
@@ -16,6 +16,11 @@
/* Handling of blocks of bytecode (endianness switch, threading). */
#include "config.h"
+
+#ifdef HAS_UNISTD
+#include <unistd.h>
+#endif
+
#include "debugger.h"
#include "fix_code.h"
#include "instruct.h"
@@ -24,9 +29,6 @@
#include "misc.h"
#include "mlvalues.h"
#include "reverse.h"
-#ifdef HAS_UNISTD
-#include <unistd.h>
-#endif
code_t start_code;
asize_t code_size;