This was fixed by revision 1.40 of scheduler/pthread.h:
date: 2003/09/18 20:52:24; author: julliard; state: Exp; lines: +5 -6 Gabriele Giorgetti gabriele.giorgetti@teamfab.it Fix build with old libc.
Thanks! Gerald
On Mon, 8 Sep 2003, Gerald Pfeifer wrote:
I've been seeing the following build failures on FreeBSD 4.8 for a few days:
/usr/bin/gcc -c -I. -I. -I../../include -I../../include -D_REENTRANT -fPIC -D__WINESRC__ -D_NTSYSTEM_ -DBINDIR=""/tmp/WINE/bin"" -DETCDIR=""/tmp/WINE/etc"" -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o ../../scheduler/pthread.o ../../scheduler/pthread.c ../../scheduler/pthread.c: In function `wine_pthread_init_process': ../../scheduler/pthread.c:159: `__res_state' undeclared (first use in this function) ../../scheduler/pthread.c:159: (Each undeclared identifier is reported only once ../../scheduler/pthread.c:159: for each function it appears in.) ../../scheduler/pthread.c: At top level: ../../scheduler/pthread.c:263: `__res_state' used prior to declaration gmake[2]: *** [../../scheduler/pthread.o] Error 1 gmake[2]: Leaving directory `/.amd_mnt/nashira/files5/test/wine/dlls/ntdll' gmake[1]: *** [ntdll] Error 2