15 lines
550 B
Diff
15 lines
550 B
Diff
|
diff -ur ../xine-lib-1.1.1-orig/src/libw32dll/wine/ldt_keeper.c ./src/libw32dll/wine/ldt_keeper.c
|
||
|
--- ../xine-lib-1.1.1-orig/src/libw32dll/wine/ldt_keeper.c 2006-01-02 12:43:47.000000000 +0100
|
||
|
+++ ./src/libw32dll/wine/ldt_keeper.c 2006-01-02 12:43:51.000000000 +0100
|
||
|
@@ -79,6 +79,10 @@
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
+#include <linux/version.h>
|
||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
|
||
|
+#define modify_ldt_ldt_s user_desc
|
||
|
+#endif
|
||
|
#else
|
||
|
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||
|
#include <machine/segments.h>
|