sys/time.h inclusion conditionalized; utmp.h always

SCCS-file: date.c
SCCS-SID: 4.14
This commit is contained in:
Arthur David Olson
2012-07-18 03:01:58 -04:00
committed by Paul Eggert
parent 1b8b3f2d54
commit 1df741c1b2
+3
View File
@@ -34,8 +34,11 @@ char copyright[] =
static char sccsid[] = "@(#)date.c 4.23 (Berkeley) 9/20/88";
#endif /* not lint */
#ifndef USG
#include "sys/time.h" /* for DST_NONE */
#endif /* !defined USG */
#include "private.h"
#include "utmp.h" /* for OLD_TIME (or its absence) */
/*
** The two things date knows about time are. . .