summaryrefslogtreecommitdiff
path: root/ext/coverage
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/coverage
parente5731864074cc642c2b4e77d74334ca2b72302d8 (diff)
downloadbundler-9f41782ec8170c69598f49c6fedf5e7ca35724a4.tar.gz
* 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/coverage')
-rw-r--r--ext/coverage/coverage.c2
-rw-r--r--ext/coverage/extconf.rb1
2 files changed, 2 insertions, 1 deletions
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')