summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-io/src
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-io/src
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-io/src')
-rw-r--r--mrbgems/mruby-io/src/file.c1
-rw-r--r--mrbgems/mruby-io/src/io.c1
2 files changed, 2 insertions, 0 deletions
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 <sys/types.h>
#include <sys/stat.h>
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 <sys/types.h>
#include <sys/stat.h>