changeset 29442:e7dca295c541

Protect against multiple inclusion. (timezone) [USG5_4]: Define as time_t.
author Dave Love <fx@gnu.org>
date Mon, 05 Jun 2000 14:34:08 +0000
parents 3ff463c78c10
children 9a8c5dd3685e
files src/systime.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/systime.h	Mon Jun 05 14:30:01 2000 +0000
+++ b/src/systime.h	Mon Jun 05 14:34:08 2000 +0000
@@ -18,6 +18,9 @@
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+#ifndef _SYSTIME_H
+#define _SYSTIME_H
+
 #ifdef TIME_WITH_SYS_TIME
 #include <sys/time.h>
 #include <time.h>
@@ -37,7 +40,7 @@
 
 /* SVr4 doesn't actually declare this in its #include files.  */
 #ifdef USG5_4
-extern long timezone;
+extern time_t timezone;
 #endif
 
 #ifdef VMS
@@ -163,3 +166,4 @@
 #define EMACS_TIME_LT(T1, T2) (EMACS_TIME_CMP (T1, T2) < 0)
 #define EMACS_TIME_LE(T1, T2) (EMACS_TIME_CMP (T1, T2) <= 0)
 
+#endif /* _SYSTIME_H */