From bf6b573fc3a55b0c1d1388aed9f48438d7881482 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 2 Aug 2002 05:53:53 +0000 Subject: Include "IP6_misc.h" even on UNIX if __MINGW32__ is defined, as had been the case before the previous checkin. --- nametoaddr.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'nametoaddr.c') diff --git a/nametoaddr.c b/nametoaddr.c index 6128666..de2d7af 100644 --- a/nametoaddr.c +++ b/nametoaddr.c @@ -24,7 +24,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.66 2002-08-02 03:44:20 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.67 2002-08-02 05:53:53 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -34,9 +34,6 @@ static const char rcsid[] = #ifdef WIN32 #include -#ifdef __MINGW32__ -#include "IP6_misc.h" -#endif #else /* WIN32 */ #include @@ -45,6 +42,16 @@ static const char rcsid[] = #include #include +#endif /* WIN32 */ + +/* + * XXX - why was this included even on UNIX? + */ +#ifdef __MINGW32__ +#include "IP6_misc.h" +#endif + +#ifndef WIN32 #ifdef HAVE_ETHER_HOSTTON #ifdef HAVE_NETINET_IF_ETHER_H struct mbuf; /* Squelch compiler warnings on some platforms for */ -- cgit v1.2.3