summaryrefslogtreecommitdiff
path: root/universal_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'universal_parser.c')
-rw-r--r--universal_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/universal_parser.c b/universal_parser.c
index 1e7fc41fa0..0f1395322e 100644
--- a/universal_parser.c
+++ b/universal_parser.c
@@ -77,6 +77,7 @@
#undef T_RATIONAL
#define T_RATIONAL 0x0f
+#ifndef INTERNAL_IMEMO_H
struct rb_imemo_tmpbuf_struct {
VALUE flags;
VALUE reserved;
@@ -84,6 +85,7 @@ struct rb_imemo_tmpbuf_struct {
struct rb_imemo_tmpbuf_struct *next; /* next imemo */
size_t cnt; /* buffer size in VALUE */
};
+#endif
#undef xmalloc
#define xmalloc p->config->malloc