2013-09-26 17:14:40 +02:00

18 lines
417 B
Plaintext

$NetBSD: patch-aa,v 1.1 2010/09/12 03:20:02 taca Exp $
Support both Ruby 1.8.x and 1.9.x.
--- ext/racc/cparse/cparse.c.orig 2008-11-30 07:09:20.000000000 +0000
+++ ext/racc/cparse/cparse.c
@@ -11,7 +11,10 @@
*/
+#include "ruby.h"
+#ifdef HAVE_RUBY_RUBY_H
#include "ruby/ruby.h"
+#endif
/* -----------------------------------------------------------------------
Important Constants