diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildvm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/buildvm.c b/src/buildvm.c index c2011070..382550b8 100644 --- a/src/buildvm.c +++ b/src/buildvm.c | |||
@@ -14,11 +14,6 @@ | |||
14 | ** It's a one-shot tool -- any effort fixing this would be wasted. | 14 | ** It's a one-shot tool -- any effort fixing this would be wasted. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifdef LUA_USE_WIN | ||
18 | #include <fcntl.h> | ||
19 | #include <io.h> | ||
20 | #endif | ||
21 | |||
22 | #include "buildvm.h" | 17 | #include "buildvm.h" |
23 | #include "lj_obj.h" | 18 | #include "lj_obj.h" |
24 | #include "lj_gc.h" | 19 | #include "lj_gc.h" |
@@ -28,6 +23,11 @@ | |||
28 | #include "lj_dispatch.h" | 23 | #include "lj_dispatch.h" |
29 | #include "luajit.h" | 24 | #include "luajit.h" |
30 | 25 | ||
26 | #ifdef LUA_USE_WIN | ||
27 | #include <fcntl.h> | ||
28 | #include <io.h> | ||
29 | #endif | ||
30 | |||
31 | /* ------------------------------------------------------------------------ */ | 31 | /* ------------------------------------------------------------------------ */ |
32 | 32 | ||
33 | /* DynASM glue definitions. */ | 33 | /* DynASM glue definitions. */ |