summaryrefslogtreecommitdiff
path: root/ext/racc/cparse/cparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/racc/cparse/cparse.c')
-rw-r--r--ext/racc/cparse/cparse.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/racc/cparse/cparse.c b/ext/racc/cparse/cparse.c
index e52d0da807..d085158f11 100644
--- a/ext/racc/cparse/cparse.c
+++ b/ext/racc/cparse/cparse.c
@@ -11,8 +11,7 @@
*/
-#include "ruby.h"
-#include "version.h"
+#include "ruby/ruby.h"
/* -----------------------------------------------------------------------
Important Constants
@@ -65,9 +64,6 @@ static ID id_d_e_pop;
#ifndef LONG2NUM
# define LONG2NUM(i) INT2NUM(i)
#endif
-#if RUBY_VERSION_CODE >= 190
-# define HAVE_RB_BLOCK_CALL 1
-#endif
static ID value_to_id _((VALUE v));
static inline long num_to_long _((VALUE n));