diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/coverage/coverage.c | 2 | ||||
-rw-r--r-- | ext/coverage/extconf.rb | 1 | ||||
-rw-r--r-- | ext/objspace/extconf.rb | 2 | ||||
-rw-r--r-- | ext/objspace/objspace.c | 6 |
5 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Sat Aug 14 19:12:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add + topdir and top_srcdir. [ruby-dev:42031] + Sat Aug 14 17:48:41 2010 Narihiro Nakamura <authorNari@gmail.com> * test/objspace/test_objspace.rb: added test for objspace. diff --git a/ext/coverage/coverage.c b/ext/coverage/coverage.c index 347888e96e..29ac7090f3 100644 --- a/ext/coverage/coverage.c +++ b/ext/coverage/coverage.c @@ -9,7 +9,7 @@ ************************************************/ #include "ruby.h" -#include "../../vm_core.h" +#include "vm_core.h" /* * call-seq: diff --git a/ext/coverage/extconf.rb b/ext/coverage/extconf.rb index 3ebced54a6..cf10ca89c5 100644 --- a/ext/coverage/extconf.rb +++ b/ext/coverage/extconf.rb @@ -1,2 +1,3 @@ require 'mkmf' +$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" create_makefile('coverage') diff --git a/ext/objspace/extconf.rb b/ext/objspace/extconf.rb index a0cc3cecce..23a42c4c20 100644 --- a/ext/objspace/extconf.rb +++ b/ext/objspace/extconf.rb @@ -1,2 +1,2 @@ - +$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" create_makefile('objspace') diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index 58a8e61d75..a08f7738aa 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -27,9 +27,9 @@ #include <ruby/st.h> #include <ruby/io.h> #include <ruby/re.h> -#include <../../node.h> -#include <../../gc.h> -#include <../../regint.h> +#include "node.h" +#include "gc.h" +#include "regint.h" size_t rb_str_memsize(VALUE); size_t rb_ary_memsize(VALUE); |