Hello Paul,

zic.c compiled but I am now getting

localtime.c(383): error C2065: 'uid_t': undeclared identifier
localtime.c(383): error C2146: syntax error: missing ';' before identifier 'ruid'
localtime.c(383): error C2065: 'ruid': undeclared identifier
localtime.c(383): error C2065: 'euid': undeclared identifier
localtime.c(383): error C2065: 'suid': undeclared identifier
localtime.c(384): error C2065: 'gid_t': undeclared identifier
localtime.c(384): error C2146: syntax error: missing ';' before identifier 'rgid'
localtime.c(384): error C2065: 'rgid': undeclared identifier
localtime.c(384): error C2065: 'egid': undeclared identifier
localtime.c(384): error C2065: 'sgid': undeclared identifier
localtime.c(385): error C2065: 'ruid': undeclared identifier
localtime.c(385): error C2065: 'euid': undeclared identifier
localtime.c(385): error C2065: 'suid': undeclared identifier
localtime.c(386): error C2065: 'ruid': undeclared identifier
localtime.c(386): error C2065: 'euid': undeclared identifier
localtime.c(386): error C2065: 'suid': undeclared identifier
localtime.c(388): error C2065: 'rgid': undeclared identifier
localtime.c(388): error C2065: 'egid': undeclared identifier
localtime.c(388): error C2065: 'sgid': undeclared identifier
localtime.c(389): error C2065: 'rgid': undeclared identifier
localtime.c(389): error C2065: 'egid': undeclared identifier
localtime.c(389): error C2065: 'sgid': undeclared identifier
localtime.c(812): error C2039: 'st_ctim': is not a member of 'stat'
C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\sys/stat.h(89): note: see declaration of 'stat'
NMAKE :  U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\cl.EXE"' : return code '0x2'
Stop.

Any ideas?

Thank you!

On Mon, Oct 20, 2025 at 6:26 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
On 2025-10-20 05:00, Manuela Friedrich wrote:
> After removing   -DHAVE_POSIX_DECLS=0  we got these failures

Instead of removing -DHAVE_POSIX_DECLS=0, please add -DHAVE_DIRECT_H;
this should fix the mkdir part of the problem.

Also, I just now installed the attached patch to address the umask part
of the problem; please give it a try.

Thanks for following up on this.