summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/parse.y1
-rw-r--r--src/re.h1
-rw-r--r--src/string.c1
-rw-r--r--src/variable.c1
4 files changed, 1 insertions, 3 deletions
diff --git a/src/parse.y b/src/parse.y
index fe8752ec2..292e60cfa 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -22,7 +22,6 @@
#include "mruby/compile.h"
#include "mruby/proc.h"
#include "node.h"
-#include "st.h"
#include <stdio.h>
#include <errno.h>
diff --git a/src/re.h b/src/re.h
index 238b4e408..91bd1abc1 100644
--- a/src/re.h
+++ b/src/re.h
@@ -13,6 +13,7 @@
#include "node.h"
#include "regex.h"
#include "encoding.h"
+#include "st.h"
#define BEG(no) regs->beg[no]
#define END(no) regs->end[no]
diff --git a/src/string.c b/src/string.c
index b2cdc1212..2b7bdb454 100644
--- a/src/string.c
+++ b/src/string.c
@@ -19,7 +19,6 @@
#include "re.h"
#ifdef ENABLE_REGEXP
#include "regex.h"
-#include "st.h"
#endif //ENABLE_REGEXP
const char mrb_digitmap[] = "0123456789abcdefghijklmnopqrstuvwxyz";
diff --git a/src/variable.c b/src/variable.c
index e785d56b7..33c9c0249 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -16,7 +16,6 @@
#ifdef ENABLE_REGEXP
#include "re.h"
-#include "st.h"
#endif
static void