From: wessels <> Date: Fri, 17 Jul 1998 06:16:28 +0000 (+0000) Subject: AIX portability hacks X-Git-Tag: SQUID_3_0_PRE1~3062 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=449652701799835c6e317fe6a00c86e5bc48807b;p=thirdparty%2Fsquid.git AIX portability hacks --- 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 */