temporarily add ifdef sunos (includes) to assist Steve Romig in debugging
[unix-history] / usr / src / sbin / dump / unctime.c
index 5d78a9b..ba2bedc 100644 (file)
@@ -1,18 +1,21 @@
-/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+/*-
+ * Copyright (c) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)unctime.c  5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)unctime.c  5.4 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
-#include <sys/time.h>
+#include <time.h>
 #include <stdio.h>
 #include <stdio.h>
+#ifdef __STDC__
 #include <stdlib.h>
 #include <string.h>
 #include <stdlib.h>
 #include <string.h>
+#endif
 
 /*
  * Convert a ctime(3) format string into a system format date.
 
 /*
  * Convert a ctime(3) format string into a system format date.