summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-10-10 22:58:01 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-10-10 22:58:01 +0000
commit39070c215a69e6484aab7640a51951aecd90d316 (patch)
tree73ec42bcba1a6c09b190f4d5195edf7a62646753 /src
parentb8fa6215a3bae0dc60e80a896d3c30061e351da1 (diff)
downloadxine-lib-39070c215a69e6484aab7640a51951aecd90d316.tar.gz
xine-lib-39070c215a69e6484aab7640a51951aecd90d316.tar.bz2
patch for kernels >= 2.5 from Billy Biggs
CVS patchset: 5480 CVS date: 2003/10/10 22:58:01
Diffstat (limited to 'src')
-rw-r--r--src/libw32dll/wine/ldt_keeper.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libw32dll/wine/ldt_keeper.c b/src/libw32dll/wine/ldt_keeper.c
index 018db9641..e98ed8fa2 100644
--- a/src/libw32dll/wine/ldt_keeper.c
+++ b/src/libw32dll/wine/ldt_keeper.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: ldt_keeper.c,v 1.7 2003/02/17 19:54:43 miguelfreitas Exp $
+ * $Id: ldt_keeper.c,v 1.8 2003/10/10 22:58:01 miguelfreitas Exp $
*
*
* contents:
@@ -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" {