summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-14 10:12:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-14 10:12:13 +0000
commit9f41782ec8170c69598f49c6fedf5e7ca35724a4 (patch)
tree179d40e81721a004e0e11838fe2336e3a050eaf1 /ext/objspace
parente5731864074cc642c2b4e77d74334ca2b72302d8 (diff)
* ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add
topdir and top_srcdir. [ruby-dev:42031] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/extconf.rb2
-rw-r--r--ext/objspace/objspace.c6
2 files changed, 4 insertions, 4 deletions
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);