Index: loader/preloader.c =================================================================== RCS file: /home/wine/wine/loader/preloader.c,v retrieving revision 1.7 diff -u -r1.7 preloader.c --- loader/preloader.c 26 Jun 2004 00:12:20 -0000 1.7 +++ loader/preloader.c 26 Jun 2004 11:49:14 -0000 @@ -367,7 +367,9 @@ NAME(AT_PHNUM), NAME(AT_PLATFORM), NAME(AT_SYSINFO), +#ifdef AT_SYSINFO_EHDR NAME(AT_SYSINFO_EHDR), +#endif NAME(AT_UID), { 0, NULL } }; @@ -920,7 +922,9 @@ i = 0; /* delete sysinfo values if addresses conflict */ if (is_in_preload_range( av, AT_SYSINFO )) delete_av[i++].a_type = AT_SYSINFO; +#ifdef AT_SYSINFO_EHDR if (is_in_preload_range( av, AT_SYSINFO_EHDR )) delete_av[i++].a_type = AT_SYSINFO_EHDR; +#endif delete_av[i].a_type = AT_NULL; /* get rid of first argument */