summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-10-11 20:32:00 +0000
committerClint Adams <clint@users.sourceforge.net>2007-10-11 20:32:00 +0000
commit2574a0f5c92350763d05d63201837d1a3eee76e6 (patch)
treeca8e8e59fa068a50f767f5d14e82c29e41d03f9d
parentaf3e2b6fa4f8db6d5bdb2273180d5030ba00c0d3 (diff)
downloadzsh-2574a0f5c92350763d05d63201837d1a3eee76e6.tar.gz
zsh-2574a0f5c92350763d05d63201837d1a3eee76e6.zip
23927: don't define struct timezone if ZSH_OOT_MODULE is defined.
-rw-r--r--ChangeLog5
-rw-r--r--Src/system.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a066ad4dd..dbeec08f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-08 Clint Adams <clint@zsh.org>
+
+ * 23927: Src/system.h: don't define struct timezone if
+ ZSH_OOT_MODULE is defined.
+
2007-10-11 Peter Stephenson <pws@csr.com>
* 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;