From 2574a0f5c92350763d05d63201837d1a3eee76e6 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 11 Oct 2007 20:32:00 +0000 Subject: 23927: don't define struct timezone if ZSH_OOT_MODULE is defined. --- ChangeLog | 5 +++++ Src/system.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a066ad4dd..dbeec08f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-08 Clint Adams + + * 23927: Src/system.h: don't define struct timezone if + ZSH_OOT_MODULE is defined. + 2007-10-11 Peter Stephenson * 23934: Completion/Base/Completer/_expand_alias: diff --git a/Src/system.h b/Src/system.h index 781a90762..022ace250 100644 --- a/Src/system.h +++ b/Src/system.h @@ -225,7 +225,7 @@ char *alloca _((size_t)); #endif /* This is needed by some old SCO unices */ -#ifndef HAVE_STRUCT_TIMEZONE +#if !defined(HAVE_STRUCT_TIMEZONE) && !defined(ZSH_OOT_MODULE) struct timezone { int tz_minuteswest; int tz_dsttime; -- cgit 1.4.1