summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-10 09:48:15 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-10 09:48:15 +0000
commit3115b22defaaf90560e4c776c468874710df8a01 (patch)
treebf9d80f595b4ef80c3dda1504cb2b66e9765773d /osdep
parentc27b831927bfccb6086e107f6ad7329208ac3dbd (diff)
downloadmpv-3115b22defaaf90560e4c776c468874710df8a01.tar.bz2
mpv-3115b22defaaf90560e4c776c468874710df8a01.tar.xz
linux 2.6 patch by "ismail 'cartman' dönmez" <ismail.donmez@boun.edu.tr>
no idea whether this really works :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11766 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-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
+
+