Index: src/libw32dll/wine/ldt_keeper.c =================================================================== --- src/libw32dll/wine/ldt_keeper.c.orig +++ src/libw32dll/wine/ldt_keeper.c @@ -77,6 +77,10 @@ #ifdef __cplusplus } #endif +#include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) +#define modify_ldt_ldt_s user_desc +#endif #else #if defined(__NetBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) #include