summaryrefslogtreecommitdiff
path: root/src/systime.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-06 17:44:23 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-06 17:44:23 +0000
commit2ffe7ef25038b822b54b87a36b4741133297afe0 (patch)
tree2be248ee9b8a328c293b333b9c1b8b4edac8b809 /src/systime.h
parenta7971c39a9656d56959ec88b4008f6d66230cfe4 (diff)
downloademacs-2ffe7ef25038b822b54b87a36b4741133297afe0.tar.gz
[HAVE_TZNAME]: Declare tzname if not macro.
Diffstat (limited to 'src/systime.h')
-rw-r--r--src/systime.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/systime.h b/src/systime.h
index 4bc557c7067..6b87013dd56 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -28,6 +28,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#endif
+#ifdef HAVE_TZNAME
+#ifndef tzname /* For SGI. */
+extern char *tzname[]; /* RS6000 and others want it this way. */
+#endif
+#endif
+
/* SVr4 doesn't actually declare this in its #include files. */
#ifdef USG5_4
extern long timezone;