From 90b53f4c29dd845140175943263b9c67995324c4 Mon Sep 17 00:00:00 2001 From: KOBAYASHI Shuji Date: Mon, 11 Jan 2021 09:21:07 +0900 Subject: Avoid including `presym.inc` in existing header files Addressed an issue where existing programs linking `libmruby.a` could only be built by adding `/include` to compiler's include path. --- mrbgems/mruby-io/src/file.c | 1 + mrbgems/mruby-io/src/io.c | 1 + 2 files changed, 2 insertions(+) (limited to 'mrbgems/mruby-io/src') diff --git a/mrbgems/mruby-io/src/file.c b/mrbgems/mruby-io/src/file.c index 58f4bcc6f..8e7d64958 100644 --- a/mrbgems/mruby-io/src/file.c +++ b/mrbgems/mruby-io/src/file.c @@ -8,6 +8,7 @@ #include "mruby/string.h" #include "mruby/ext/io.h" #include "mruby/error.h" +#include "mruby/presym.h" #include #include diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c index 05eda4ad5..8901b055f 100644 --- a/mrbgems/mruby-io/src/io.c +++ b/mrbgems/mruby-io/src/io.c @@ -11,6 +11,7 @@ #include "mruby/variable.h" #include "mruby/ext/io.h" #include "mruby/error.h" +#include "mruby/presym.h" #include #include -- cgit v1.2.3