diff options
Diffstat (limited to 'testsuite/buildok/two.stp')
-rwxr-xr-x | testsuite/buildok/two.stp | 4 |
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 () %{ |