]> code.delx.au - gnu-emacs/commitdiff
Protect against multiple inclusion.
authorDave Love <fx@gnu.org>
Mon, 5 Jun 2000 14:34:08 +0000 (14:34 +0000)
committerDave Love <fx@gnu.org>
Mon, 5 Jun 2000 14:34:08 +0000 (14:34 +0000)
(timezone) [USG5_4]: Define as time_t.

src/systime.h

index 7ded857da7e3427dad1b233fdd53514d30e93043..2f9ace521e2ea7dae3a5acee6a08d1f6076fd2c0 100644 (file)
@@ -18,6 +18,9 @@ along with GNU Emacs; see the file COPYING.  If not, write to
 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 @@ extern char *tzname[];        /* RS6000 and others want it this way.  */
 
 /* 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 @@ extern int set_file_times ();
 #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 */