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:
arpi 2002-11-16 09:38:23 +00:00
parent 77cbe0ff75
commit 43959d646a
1 changed files with 5 additions and 0 deletions

View File

@ -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" {