From Gisle Vanem:
* 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 pcap-stdinc.h).
This commit is contained in:
parent
5fb89099c6
commit
936df0fbc1
12
nametoaddr.c
12
nametoaddr.c
|
@ -31,6 +31,11 @@ static const char rcsid[] _U_ =
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef DECNETLIB
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <netdnet/dnetdb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <pcap-stdinc.h>
|
#include <pcap-stdinc.h>
|
||||||
|
|
||||||
|
@ -44,13 +49,6 @@ static const char rcsid[] _U_ =
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
/*
|
|
||||||
* XXX - why was this included even on UNIX?
|
|
||||||
*/
|
|
||||||
#ifdef __MINGW32__
|
|
||||||
#include "IP6_misc.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#ifdef HAVE_ETHER_HOSTTON
|
#ifdef HAVE_ETHER_HOSTTON
|
||||||
/*
|
/*
|
||||||
|
|
Reference in New Issue