include netinet/in.h in resolver
On some platforms (notably FreeBSD) netinet/in.h is required
for the struct in_addr type and IPPROTO_* constants.
As this header and both required definitions are documented
in IEEE Std 1003.1, this should be safe on all systems.
Frank Zschockelt <lm@freakysoft.de>
Mikael Berthe <mikael@lilotux.net>