Simple test program does not compile. It needs #include <netinet/in.h> for definition of address types. Fix: /*--greYswFliVOafCACB9vo6ZaBh4fcXkfM2Cuc4IyUEDQptvym Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" *** resolv.h.orig Fri Sep 2 18:42:55 2005 --- resolv.h Fri Sep 2 18:44:28 2005 *************** *** 61,66 **** --- 61,67 ---- #include <sys/types.h> #include <sys/cdefs.h> #include <sys/socket.h> + #include <netinet/in.h> #include <stdio.h> How-To-Repeat: compile: #include <resolv.h> main () { }
Responsible Changed From-To: freebsd-i386->freebsd-bugs This is not i386-specific.
State Changed From-To: open->closed Your testcase is wrong. Look at the man page for resolver(3) for the correct includes to use before including <resolv.h.