summaryrefslogtreecommitdiffstats
path: root/osdep/kerneltwosix.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/kerneltwosix.h')
-rw-r--r--osdep/kerneltwosix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/osdep/kerneltwosix.h b/osdep/kerneltwosix.h
new file mode 100644
index 0000000000..dcb808d934
--- /dev/null
+++ b/osdep/kerneltwosix.h
@@ -0,0 +1,9 @@
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
+#define __KERNEL__
+#include <linux/thread_info.h>
+#include <linux/list.h>
+#undef __KERNEL__
+#endif
+
+