summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/codegen.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-08-23 07:34:37 +0900
committerGitHub <[email protected]>2021-08-23 07:34:37 +0900
commit11cfe77eb1675d461709bda4e413ee2966945195 (patch)
treeefbed032f9c4d2e7ef1bc18ed3aa49379caedd02 /mrbgems/mruby-compiler/core/codegen.c
parent0f3671044500a882d47cd992589064d04aa867b5 (diff)
parent5a576028607c4bd7b46e8b1d2726329355d4bc03 (diff)
downloadmruby-11cfe77eb1675d461709bda4e413ee2966945195.tar.gz
mruby-11cfe77eb1675d461709bda4e413ee2966945195.zip
Merge pull request #5537 from dearblue/header-files
Organize the include of header files
Diffstat (limited to 'mrbgems/mruby-compiler/core/codegen.c')
-rw-r--r--mrbgems/mruby-compiler/core/codegen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c
index 3f849b0f1..4546e6cc0 100644
--- a/mrbgems/mruby-compiler/core/codegen.c
+++ b/mrbgems/mruby-compiler/core/codegen.c
@@ -4,9 +4,6 @@
** See Copyright Notice in mruby.h
*/
-#include <ctype.h>
-#include <string.h>
-#include <math.h>
#include <mruby.h>
#include <mruby/compile.h>
#include <mruby/proc.h>
@@ -19,6 +16,8 @@
#include <mruby/opcode.h>
#include <mruby/re.h>
#include <mruby/throw.h>
+#include <ctype.h>
+#include <string.h>
#ifndef MRB_CODEGEN_LEVEL_MAX
#define MRB_CODEGEN_LEVEL_MAX 1024