summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;