mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
2.5.47+ support
patch by Sergey S. Stasyuk <stas@soft-systems.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8214 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
77cbe0ff75
commit
43959d646a
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user