summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2017-07-20 13:39:12 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2017-07-20 13:39:12 +0000
commit93a020e78c0d7ef30fe7bccb43f5a7cfcc253b04 (patch)
tree46f2be5bf047f024a19478486385a1ac8bbf0d23 /usr.bin
parent603e375bc39faf70e6eaee517fa7cec0e03b5ea6 (diff)
Add missing <time.h> header.
ok joris@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/date.y3
-rw-r--r--usr.bin/cvs/history.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/cvs/date.y b/usr.bin/cvs/date.y
index ecd346b92d8..a3108c5deb0 100644
--- a/usr.bin/cvs/date.y
+++ b/usr.bin/cvs/date.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: date.y,v 1.25 2015/11/05 09:48:21 nicm Exp $ */
+/* $OpenBSD: date.y,v 1.26 2017/07/20 13:39:11 okan Exp $ */
/*
** Originally written by Steven M. Bellovin <smb@research.att.com> while
@@ -16,6 +16,7 @@
#include <ctype.h>
#include <string.h>
+#include <time.h>
#include "cvs.h"
diff --git a/usr.bin/cvs/history.c b/usr.bin/cvs/history.c
index f97e8fdbe1c..d9647b72e44 100644
--- a/usr.bin/cvs/history.c
+++ b/usr.bin/cvs/history.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: history.c,v 1.44 2016/10/13 20:51:25 fcambus Exp $ */
+/* $OpenBSD: history.c,v 1.45 2017/07/20 13:39:11 okan Exp $ */
/*
* Copyright (c) 2007 Joris Vink <joris@openbsd.org>
*
@@ -23,6 +23,7 @@
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "cvs.h"