]> The Tcpdump Group git mirrors - tcpdump/commitdiff
from Gisle Vanem:
authorhannes <hannes>
Mon, 27 Feb 2006 07:27:16 +0000 (07:27 +0000)
committerhannes <hannes>
Mon, 27 Feb 2006 07:27:16 +0000 (07:27 +0000)
  - use local Ethernet defs on WIN32

addrtoname.c

index ad2f6e285380dfd0378f575b84f72e9200d4d7cd..8399472bb07f004cc3fc7d2acabdaa98e7282a09 100644 (file)
@@ -23,7 +23,7 @@
  */
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.108.2.7 2005-09-29 07:46:45 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.108.2.8 2006-02-27 07:27:16 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -68,6 +68,10 @@ extern int ether_ntohost(char *, const struct ether_addr *);
 #include "extract.h"
 #include "oui.h"
 
+#ifndef ETHER_ADDR_LEN
+#include "ether.h"
+#endif
+
 /*
  * hash tables for whatever-to-name translations
  *