summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 77ce283c..959db90f 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -47,6 +47,7 @@ compile_pass (systemtap_session& s)
{
// Assumes linux 2.6 kbuild
o << "CFLAGS += -Werror" << endl;
+ o << "CFLAGS += -I \"" << s.runtime_path << "\"" << endl;
o << "CFLAGS += -I \"" << s.runtime_path << "/relayfs\"" << endl;
o << "obj-m := " << s.module_name << ".o" << endl;
o.close ();