summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/two.stp
diff options
context:
space:
mode:
authorhunt <hunt>2006-09-28 19:03:39 +0000
committerhunt <hunt>2006-09-28 19:03:39 +0000
commite38a2092c71ac4c8d0f887dba56c55124ebe0db4 (patch)
tree18a8de06d056b784cb1d50db9df54c744a2bd9de /testsuite/buildok/two.stp
parent39014506dbb091375a039ca2220824d29da3796f (diff)
downloadsystemtap-steved-e38a2092c71ac4c8d0f887dba56c55124ebe0db4.tar.gz
systemtap-steved-e38a2092c71ac4c8d0f887dba56c55124ebe0db4.tar.xz
systemtap-steved-e38a2092c71ac4c8d0f887dba56c55124ebe0db4.zip
2006-09-28 Martin Hunt <hunt@redhat.com>
* buildok/eighteen.stp: Fix for 2.6.18. * buildok/two.stp: Ditto.
Diffstat (limited to 'testsuite/buildok/two.stp')
-rwxr-xr-xtestsuite/buildok/two.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/buildok/two.stp b/testsuite/buildok/two.stp
index e10a036d..f3b89616 100755
--- a/testsuite/buildok/two.stp
+++ b/testsuite/buildok/two.stp
@@ -3,7 +3,11 @@
./stap -p4 -g $@ - <<'END'
%{
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/version.h>
+#else
+#include <linux/utsrelease.h>
+#endif
%}
function get_release () %{