From e38a2092c71ac4c8d0f887dba56c55124ebe0db4 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 28 Sep 2006 19:03:39 +0000 Subject: 2006-09-28 Martin Hunt * buildok/eighteen.stp: Fix for 2.6.18. * buildok/two.stp: Ditto. --- testsuite/buildok/two.stp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testsuite/buildok/two.stp') 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 +#else +#include +#endif %} function get_release () %{ -- cgit