Skip to content

Commit

Permalink
From Gisle Vanem:
Browse files Browse the repository at this point in the history
* 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).
  • Loading branch information
Guy Harris committed Feb 14, 2009
1 parent 5fb8909 commit 936df0f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions nametoaddr.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ static const char rcsid[] _U_ =
#include "config.h"
#endif

#ifdef DECNETLIB
#include <sys/types.h>
#include <netdnet/dnetdb.h>
#endif

#ifdef WIN32
#include <pcap-stdinc.h>

Expand All @@ -44,13 +49,6 @@ static const char rcsid[] _U_ =
#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
/*
Expand Down

0 comments on commit 936df0f

Please sign in to comment.