summaryrefslogtreecommitdiffstats
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
commit8b218e7c33f5cfaba2e9292a46d3bdd919efff30 (patch)
tree642a6c82599486537c3136f32cac7a644c4bf4a3 /ext/probeprofiler
parentf5ed50e7f01723ad77a27501d66bca219d8810a9 (diff)
* include/ruby: moved public headers.
git-svn-id: http://svn.ruby-lang.org/repos/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 31cfc85c0..da94e654d 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 9ffb20367..fba4d85f4 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