From: guy Date: Sun, 16 Nov 2003 09:48:25 +0000 (+0000) Subject: From Brian Ginsbach : add UNICOS/mp to the list of X-Git-Tag: libpcap-0.9.1~268 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/52c71acb694e8c8f373d3882b9fc17f687ca2c0e?ds=inline From Brian Ginsbach : add UNICOS/mp to the list of OSes that declare "ether_hostton()" themselves. --- diff --git a/nametoaddr.c b/nametoaddr.c index 5e4d3955..1d25ff5e 100644 --- a/nametoaddr.c +++ b/nametoaddr.c @@ -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