summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog3
-rw-r--r--tapset/task.stp2
2 files changed, 5 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 45db7803..6c3eced6 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,6 @@
+2008-05-26 Mark Wielaard <mwielaard@redhat.com>
+
+ * task.stp : Only include fdtable.h for kernel versions > 2.6.25.
2008-05-26 Wenji Huang <wenji.huang@oracle.com>
diff --git a/tapset/task.stp b/tapset/task.stp
index 1f361b58..d89729e8 100644
--- a/tapset/task.stp
+++ b/tapset/task.stp
@@ -9,7 +9,9 @@
%{
#include <linux/version.h>
#include <linux/file.h>
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)
#include <linux/fdtable.h>
+#endif
%}
// Return the task_struct representing the current process