summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2023-08-25 15:24:50 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2023-08-25 17:27:53 +0900
commit26cb3b56178d39b2b66ae795238b5834830f8f66 (patch)
tree0b4b66e2d34d9c3031a9ef8728b67de436a95adb
parent140daab5ac6bdba32036d17e12787dc241b5d61f (diff)
config.h has to be the very beginning
This header defines several essential macros.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8274
-rw-r--r--parse.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index c3a1bc5c43..e9252154e9 100644
--- a/parse.y
+++ b/parse.y
@@ -29,6 +29,8 @@
# include RUBY_EXTCONF_H
#endif
+#include "ruby/internal/config.h"
+
#include <errno.h>
#include "internal/ruby_parser.h"
#include "parser_node.h"