diff options
| author | KOBAYASHI Shuji <[email protected]> | 2021-01-11 09:21:07 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2021-01-11 09:21:07 +0900 |
| commit | 90b53f4c29dd845140175943263b9c67995324c4 (patch) | |
| tree | acc4aa53b32ccffab96c1747f41081fc482ba61a /src/error.c | |
| parent | 3deb3a7aac0136d08a20a31c5d44f6b9a3fe751f (diff) | |
| download | mruby-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 'src/error.c')
| -rw-r--r-- | src/error.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c index 4f7ca8641..d2f1c27ac 100644 --- a/src/error.c +++ b/src/error.c @@ -16,6 +16,7 @@ #include <mruby/error.h> #include <mruby/class.h> #include <mruby/throw.h> +#include <mruby/presym.h> MRB_API mrb_value mrb_exc_new(mrb_state *mrb, struct RClass *c, const char *ptr, size_t len) |
