summaryrefslogtreecommitdiffstats
path: root/byterun/fix_code.c
diff options
context:
space:
mode:
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;