From: Miguel F. <mig...@us...> - 2003-10-10 22:58:05
|
Update of /cvsroot/xine/xine-lib/src/libw32dll/wine In directory sc8-pr-cvs1:/tmp/cvs-serv32083/src/libw32dll/wine Modified Files: ldt_keeper.c Log Message: patch for kernels >= 2.5 from Billy Biggs Index: ldt_keeper.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libw32dll/wine/ldt_keeper.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ldt_keeper.c 17 Feb 2003 19:54:43 -0000 1.7 +++ ldt_keeper.c 10 Oct 2003 22:58:01 -0000 1.8 @@ -66,6 +66,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" { |