--- helper2.c.orig 2004-03-02 18:54:31.000000000 +0100 +++ helper2.c 2004-03-02 18:50:48.000000000 +0100 @@ -94,7 +94,11 @@ #ifdef USE_CODE_COPY /* testing code for code copy case */ { +#if (QEMU_LINUX_KERNEL_VERSION==26) + struct user_desc ldt; +#else struct modify_ldt_ldt_s ldt; +#endif ldt.entry_number = 1; ldt.base_addr = (unsigned long)env;