From 936df0fbc137374a0ce9ab0f838815551419711e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 14 Feb 2009 14:36:34 -0800 Subject: [PATCH] From Gisle Vanem: * nametoaddr.c with DECNETLIB defined needs included. And which again needs . * Remove "IP6_misc.h" since it's already included in pcap-stdinc.h (ref. my patch to pcap-stdinc.h). --- nametoaddr.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/nametoaddr.c b/nametoaddr.c index 5203e51..5835e4d 100644 --- a/nametoaddr.c +++ b/nametoaddr.c @@ -31,6 +31,11 @@ static const char rcsid[] _U_ = #include "config.h" #endif +#ifdef DECNETLIB +#include +#include +#endif + #ifdef WIN32 #include @@ -44,13 +49,6 @@ static const char rcsid[] _U_ = #include #endif /* WIN32 */ -/* - * XXX - why was this included even on UNIX? - */ -#ifdef __MINGW32__ -#include "IP6_misc.h" -#endif - #ifndef WIN32 #ifdef HAVE_ETHER_HOSTTON /*