diff options
Diffstat (limited to 'ext/probeprofiler')
-rw-r--r-- | ext/probeprofiler/extconf.rb | 2 | ||||
-rw-r--r-- | ext/probeprofiler/probeprofiler.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/probeprofiler/extconf.rb b/ext/probeprofiler/extconf.rb index 31cfc85c06..da94e654d9 100644 --- a/ext/probeprofiler/extconf.rb +++ b/ext/probeprofiler/extconf.rb @@ -1,2 +1,4 @@ require 'mkmf' +$VPATH << "$(top_srcdir)" +$INCFLAGS << " -I$(top_srcdir)" create_makefile("probeprofiler") diff --git a/ext/probeprofiler/probeprofiler.c b/ext/probeprofiler/probeprofiler.c index 9ffb203673..fba4d85f46 100644 --- a/ext/probeprofiler/probeprofiler.c +++ b/ext/probeprofiler/probeprofiler.c @@ -1,4 +1,4 @@ -#include <ruby.h> +#include <ruby/ruby.h> #include <yarvcore.h> static void |