]> The Tcpdump Group git mirrors - libpcap/commitdiff
From Brian Ginsbach <[email protected]>: add UNICOS/mp to the list of
authorguy <guy>
Sun, 16 Nov 2003 09:48:25 +0000 (09:48 +0000)
committerguy <guy>
Sun, 16 Nov 2003 09:48:25 +0000 (09:48 +0000)
OSes that declare "ether_hostton()" themselves.

nametoaddr.c

index 5e4d395575b53298df28803d3d227e30f2a2698b..1d25ff5e08cc853e9196a2f36c8072b207895762 100644 (file)
@@ -24,7 +24,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.69 2003-11-15 23:24:00 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.70 2003-11-16 09:48:25 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -389,7 +389,8 @@ pcap_ether_hostton(const char *name)
  * "const char *", so no matter how we declare it here, it'll fail to
  * compile on one of 3.x or 4.x).
  */
-#if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__)
+#if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
+       !defined(_UNICOMP)
 extern int ether_hostton(char *, struct ether_addr *);
 #endif