summaryrefslogtreecommitdiff
path: root/usr.sbin/eeprom/getdate.y
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 00:36:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 00:36:00 +0000
commit32bb5c8b5aaa2322996d5499d65ed3d99ab6a3ca (patch)
tree67db7859c730d4d0df8be16cfe51458e739cb9fd /usr.sbin/eeprom/getdate.y
parent09f953a174464ba8c750219cfcf9ecdc344eba0d (diff)
__OpenBSD__
Diffstat (limited to 'usr.sbin/eeprom/getdate.y')
-rw-r--r--usr.sbin/eeprom/getdate.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/eeprom/getdate.y b/usr.sbin/eeprom/getdate.y
index a653702da8b..68549384469 100644
--- a/usr.sbin/eeprom/getdate.y
+++ b/usr.sbin/eeprom/getdate.y
@@ -42,7 +42,7 @@ char *alloca ();
tricks are need, but defaults to using the gettimeofday system call.
Include <sys/time.h> if that will be used. */
-#if !defined (USG) && !defined (sgi) && !defined (__NetBSD__)
+#if !defined (USG) && !defined (sgi) && !defined (__NetBSD__) && !defined(__OpenBSD__)
#include <sys/time.h>
#endif
@@ -100,7 +100,7 @@ extern struct tm *localtime();
#if !defined(lint) && !defined(SABER)
static char RCS[] =
- "$Header: /cvs/OpenBSD/src/usr.sbin/eeprom/getdate.y,v 1.1 1995/10/18 08:47:33 deraadt Exp $";
+ "$Header: /cvs/OpenBSD/src/usr.sbin/eeprom/getdate.y,v 1.2 1996/08/22 00:34:05 deraadt Exp $";
#endif /* !defined(lint) && !defined(SABER) */
@@ -874,7 +874,7 @@ get_date(p, now)
#if sgi
ftz.timezone = (int) _timezone / 60;
#else /* not sgi */
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
ftz.timezone = 0;
#else /* neither sgi nor NetBSD */
#if defined (USG)