tcpdump mailing list archives
[Patch] libpcap, nametoaddr.c
From: Gisle Vanem <gvanem () broadpark no>
Date: Thu, 12 Feb 2009 21:29:45 +0100
* nametoaddr.c with DECNETLIB defined needs <netdnet/dnetdb.h> included. And which again needs <sys/types.h>. * Remove "IP6_misc.h" since it's already included in pcap-stdinc.h (ref. my patch to this file). --gv --- CVS-Latest/nametoaddr.c Wed Feb 06 09:21:30 2008 +++ nametoaddr.c Mon Sep 22 16:04:13 2008 @@ -31,6 +31,11 @@ #include "config.h" #endif +#ifdef DECNETLIB +#include <sys/types.h> +#include <netdnet/dnetdb.h> +#endif + #ifdef WIN32 #include <pcap-stdinc.h> @@ -43,13 +48,6 @@ #include <netinet/in.h> #endif /* WIN32 */ - -/* - * XXX - why was this included even on UNIX? - */ -#ifdef __MINGW32__ -#include "IP6_misc.h" -#endif #ifndef WIN32 #ifdef HAVE_ETHER_HOSTTON - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [Patch] libpcap, nametoaddr.c Gisle Vanem (Feb 12)
- Re: [Patch] libpcap, nametoaddr.c Guy Harris (Feb 14)