]> The Tcpdump Group git mirrors - libpcap/blobdiff - nametoaddr.c
From Gisle Vanem:
[libpcap] / nametoaddr.c
index 5203e514e3fdd2e20887904479c41d6bdb26c6a7..5835e4d1fd16414ae612eadc087ad8444e8231dd 100644 (file)
@@ -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>
 
@@ -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
 /*