summaryrefslogtreecommitdiffstats
path: root/tapset/task.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/task.stp')
-rw-r--r--tapset/task.stp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tapset/task.stp b/tapset/task.stp
index a15888f8..d89729e8 100644
--- a/tapset/task.stp
+++ b/tapset/task.stp
@@ -9,6 +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