2008-03-27 23:30:14 +01:00
|
|
|
Index: src/libw32dll/wine/ldt_keeper.c
|
|
|
|
===================================================================
|
|
|
|
--- src/libw32dll/wine/ldt_keeper.c.orig
|
|
|
|
+++ src/libw32dll/wine/ldt_keeper.c
|
2010-04-01 03:28:37 +02:00
|
|
|
@@ -77,6 +77,10 @@
|
2008-01-31 14:59:26 +01:00
|
|
|
#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
|
2008-03-27 23:30:14 +01:00
|
|
|
#if defined(__NetBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
|
2008-01-31 14:59:26 +01:00
|
|
|
#include <machine/segments.h>
|