aboutsummaryrefslogtreecommitdiffstats
path: root/ext/probeprofiler
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 03:06:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 03:06:15 +0000
commit2b592580bf65040373b55ff2ccc3b59a0a231a18 (patch)
tree642a6c82599486537c3136f32cac7a644c4bf4a3 /ext/probeprofiler
parent1b8a677b235066d91994e3490e0bce5a098196a2 (diff)
downloadruby-2b592580bf65040373b55ff2ccc3b59a0a231a18.tar.gz
* include/ruby: moved public headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/probeprofiler')
-rw-r--r--ext/probeprofiler/extconf.rb2
-rw-r--r--ext/probeprofiler/probeprofiler.c2
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