summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/merge.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 09:02:55 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 09:02:55 +0000
commit7cd6990779e667747902702ac55f638ff38bdf49 (patch)
treee5686882323ce1c8696922e847d92f19dfa31ebd /usr.bin/rcs/merge.c
parent09fafd96fdbefd0fcb988a0663d88181db0e2c10 (diff)
Pull in <time.h> for struct tm, used in rcs.h
ok deraadt@
Diffstat (limited to 'usr.bin/rcs/merge.c')
-rw-r--r--usr.bin/rcs/merge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rcs/merge.c b/usr.bin/rcs/merge.c
index 63b4863860a..25dd0e553a2 100644
--- a/usr.bin/rcs/merge.c
+++ b/usr.bin/rcs/merge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: merge.c,v 1.9 2014/10/10 08:15:25 otto Exp $ */
+/* $OpenBSD: merge.c,v 1.10 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
* All rights reserved.
@@ -27,6 +27,7 @@
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <unistd.h>
#include "rcsprog.h"