--- libpconn/PConnection_net.c Sun Apr 15 06:33:56 2001 +++ libpconn/PConnection_net.c Wed Dec 25 20:09:52 2002 @@ -10,5 +10,7 @@ #include /* For bzero() */ #include /* Solaris's requires this */ +#ifndef __FreeBSD__ /* resolv.h without in6.h blows up on FreeBSD */ #include /* For inet_ntop() under Solaris */ +#endif #if HAVE_LIBINTL_H --- src/coldsync.c Tue May 15 15:23:40 2001 +++ src/coldsync.c Wed Dec 25 20:12:40 2002 @@ -25,5 +25,9 @@ #include /* Solaris's requires this */ +#ifdef __FreeBSD__ +#define __KAME_NETINET_IN_H_INCLUDED_ +#include +#undef __KAME_NETINET_IN_H_INCLUDED_ /* XXX: you are welcome to fix this */ -#include /* For inet_ntop() under Solaris */ +#endif #include /* For sleep(), getopt() */ #include /* For isalpha() and friends */