--- ./programs/Xserver/os/save_access.c 2006-06-21 12:25:29.000000000 +0100 +++ ./programs/Xserver/os/access.c 2006-06-21 12:27:44.000000000 +0100 @@ -1191,7 +1191,11 @@ FreeHost (host); } +#if defined WIN32 && defined __MINGW32__ +#define ETC_HOST_PREFIX "X" +#else #define ETC_HOST_PREFIX "/etc/X" +#endif #define ETC_HOST_SUFFIX ".hosts" fnamelen = strlen(ETC_HOST_PREFIX) + strlen(ETC_HOST_SUFFIX) + strlen(display) + 1;