2.5.47+ support
patch by Sergey S. Stasyuk <[email protected]> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8214 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
77cbe0ff75
commit
43959d646a
1 file changed
+5
@@ -24,6 +24,11 @@
|
||||
#ifdef __linux__
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/ldt.h>
|
||||
// 2.5.xx+ calls this user_desc:
|
||||
#include <linux/version.h>
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,47)
|
||||
#define modify_ldt_ldt_s user_desc
|
||||
#endif
|
||||
/* prototype it here, so we won't depend on kernel headers */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in new issue
Block a user