On 21-Apr-11 16:07, EzyMike wrote: > Indunil Jayasooriya wrote: >> On Thu, Apr 21, 2011 at 1:54 PM, EzyMike <gpetrus@xxxxxxxxxx> wrote: >>> Hi! >>> >>> I have a problem compiling squid 3.1.11 or 3.1.12 on a OpenBSD 4.8 box. >>> When preparing to replace a OpenBSD 4.6 box with a 4.8, the compilation >>> of >>> squid brings this error: >>> >>> Making all in lib >>> cc1: warnings being treated as errors >>> In file included from ../include/util.h:49, >>> from base64.c:6: >>> /usr/include/arpa/inet.h:74:warning 'struct in_addr' declared inside >>> parameter list >> these may help >> >> http://www.mail-archive.com/squid-users@xxxxxxxxxxxxxxx/msg78443.html >> >> -- >> Thank you >> Indunil Jayasooriya >> > Thank you, I tried it again, and this time it worked. > I changed the file util.h after running the configure script, and so the > changes were not applied the first time. > Now I changed the file first and then run the configure script and all > worked as expected. > > Best Regards, Mike Hi, The more correct patch is the one in this bug report: http://bugs.squid-cache.org/show_bug.cgi?id=3185 Greetings, Matthias