aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2003-11-16 09:48:25 +0000
committerguy <guy>2003-11-16 09:48:25 +0000
commit52c71acb694e8c8f373d3882b9fc17f687ca2c0e (patch)
treee67fd4661cf0394e3490efa92bc26298dfc84192
parent437654de853b0a14665b91d5d8a9d6653171ad69 (diff)
From Brian Ginsbach <ginsbach@cray.com>: add UNICOS/mp to the list of
OSes that declare "ether_hostton()" themselves.
-rw-r--r--nametoaddr.c5
1 files changed, 3 insertions, 2 deletions
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