summaryrefslogtreecommitdiff
path: root/ext/coverage
diff options
context:
space:
mode:
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 347888e..29ac709 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 3ebced5..cf10ca8 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')