From 449652701799835c6e317fe6a00c86e5bc48807b Mon Sep 17 00:00:00 2001 From: wessels <> Date: Fri, 17 Jul 1998 06:16:28 +0000 Subject: [PATCH] AIX portability hacks --- lib/rfc1123.c | 7 +++++-- src/dnsserver.cc | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/rfc1123.c b/lib/rfc1123.c index 5fc2d4f87d..ea33b22d3e 100644 --- a/lib/rfc1123.c +++ b/lib/rfc1123.c @@ -1,6 +1,6 @@ /* - * $Id: rfc1123.c,v 1.17 1998/04/24 05:20:23 wessels Exp $ + * $Id: rfc1123.c,v 1.18 1998/07/17 00:16:29 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -251,7 +251,10 @@ parse_rfc1123(const char *str) t = mktime(&tm); { time_t dst = 0; -#if !defined _TIMEZONE && !defined _timezone +#if defined (_TIMEZONE) +#elif defined (_timezone) +#elif defined(_SQUID_AIX_) +#else extern time_t timezone; #endif /* diff --git a/src/dnsserver.cc b/src/dnsserver.cc index 992b68a8ce..cef8fba603 100644 --- a/src/dnsserver.cc +++ b/src/dnsserver.cc @@ -1,6 +1,6 @@ /* - * $Id: dnsserver.cc,v 1.49 1998/04/24 07:09:32 wessels Exp $ + * $Id: dnsserver.cc,v 1.50 1998/07/17 00:16:28 wessels Exp $ * * DEBUG: section 0 DNS Resolver * AUTHOR: Harvest Derived @@ -213,7 +213,9 @@ #include "util.h" #include "snprintf.h" +#if !defined(_SQUID_AIX_) extern int h_errno; +#endif #if LIBRESOLV_DNS_TTL_HACK extern int _dns_ttl_; /* this is a really *dirty* hack - bne */ -- 2.47.2