summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-method/src/method.c
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2021-01-11 09:21:07 +0900
committerKOBAYASHI Shuji <[email protected]>2021-01-11 09:21:07 +0900
commit90b53f4c29dd845140175943263b9c67995324c4 (patch)
treeacc4aa53b32ccffab96c1747f41081fc482ba61a /mrbgems/mruby-method/src/method.c
parent3deb3a7aac0136d08a20a31c5d44f6b9a3fe751f (diff)
downloadmruby-90b53f4c29dd845140175943263b9c67995324c4.tar.gz
mruby-90b53f4c29dd845140175943263b9c67995324c4.zip
Avoid including `presym.inc` in existing header files
Addressed an issue where existing programs linking `libmruby.a` could only be built by adding `<build-dir>/include` to compiler's include path.
Diffstat (limited to 'mrbgems/mruby-method/src/method.c')
-rw-r--r--mrbgems/mruby-method/src/method.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-method/src/method.c b/mrbgems/mruby-method/src/method.c
index 7699693fd..5d3a6c46a 100644
--- a/mrbgems/mruby-method/src/method.c
+++ b/mrbgems/mruby-method/src/method.c
@@ -4,6 +4,7 @@
#include "mruby/variable.h"
#include "mruby/proc.h"
#include "mruby/string.h"
+#include "mruby/presym.h"
static struct RObject *
method_object_alloc(mrb_state *mrb, struct RClass *mclass)