summaryrefslogtreecommitdiff
path: root/bin/pax/gen_subs.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 05:06:15 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 05:06:15 +0000
commit919fcb16639a5de5655b4a39c1376c1d44c00b6f (patch)
treeb2b11f72501cbeaf4d3a4bce709e01486f740c4c /bin/pax/gen_subs.c
parent788eaca73b7a064bbe8a79232f24c8be85cff3f4 (diff)
Need <time.h> for time() and others. Pulled in by coincidence previously
noted by tb@
Diffstat (limited to 'bin/pax/gen_subs.c')
-rw-r--r--bin/pax/gen_subs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c
index d712fbe2210..42c70804fb7 100644
--- a/bin/pax/gen_subs.c
+++ b/bin/pax/gen_subs.c
@@ -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>