http://bugs.winehq.com/show_bug.cgi?id=1722
------- Additional Comments From gabriele.giorgetti@teamfab.it 2003-19-09 05:28 ------- This patch also fixes the following problem on FreeBSD
--- paste from wine-devel ml --
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