summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorsnaba <[email protected]>2012-04-20 18:04:11 +0900
committersnaba <[email protected]>2012-04-20 18:04:11 +0900
commit210fcdc14b7531e2888e9ebb67d2c77b9f5302c0 (patch)
treef55a710d7081814142078dce3b8934ebb40d2182 /src
parent2c02bc2d63ed2f31a54cdc278ef25cfac3af403a (diff)
downloadmruby-210fcdc14b7531e2888e9ebb67d2c77b9f5302c0.tar.gz
mruby-210fcdc14b7531e2888e9ebb67d2c77b9f5302c0.zip
fixed the compile error when it comments out the definition of INCLUDE_ENCODING and INCLUDE_REGEXP in mrbconf.h.
Diffstat (limited to 'src')
-rw-r--r--src/variable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/variable.c b/src/variable.c
index 0bc1f0de1..870c96a6a 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
#include "mruby.h"
#include "mruby/class.h"
#include "ritehash.h"