Need <time.h> for time() and others. Pulled in by coincidence previously
authorguenther <guenther@openbsd.org>
Fri, 26 Aug 2016 05:06:14 +0000 (05:06 +0000)
committerguenther <guenther@openbsd.org>
Fri, 26 Aug 2016 05:06:14 +0000 (05:06 +0000)
noted by tb@

bin/pax/ar_subs.c
bin/pax/gen_subs.c

index 20dcd2f..51dd6e0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ar_subs.c,v 1.47 2016/08/26 04:31:35 guenther Exp $   */
+/*     $OpenBSD: ar_subs.c,v 1.48 2016/08/26 05:06:14 guenther Exp $   */
 /*     $NetBSD: ar_subs.c,v 1.5 1995/03/21 09:07:06 cgd Exp $  */
 
 /*-
@@ -41,6 +41,7 @@
 #include <signal.h>
 #include <stdio.h>
 #include <string.h>
+#include <time.h>
 #include <unistd.h>
 
 #include "pax.h"
index d712fbe..42c7080 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: gen_subs.c,v 1.31 2016/08/26 04:11:16 guenther Exp $  */
+/*     $OpenBSD: gen_subs.c,v 1.32 2016/08/26 05:06:14 guenther Exp $  */
 /*     $NetBSD: gen_subs.c,v 1.5 1995/03/21 09:07:26 cgd Exp $ */
 
 /*-
@@ -41,6 +41,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #include <unistd.h>
 #include <utmp.h>
 #include <vis.h>