summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-26 09:02:54 +0000
committerguenther <guenther@openbsd.org>2016-08-26 09:02:54 +0000
commit099bc3622b4e1de69ecf60616221f4e660477a82 (patch)
tree6b205cf1c83ab5e3a440a6acb63ae8312ad0beed
parentPull in <sys/select.h> for fd_set (diff)
downloadwireguard-openbsd-099bc3622b4e1de69ecf60616221f4e660477a82.tar.xz
wireguard-openbsd-099bc3622b4e1de69ecf60616221f4e660477a82.zip
Pull in <time.h> for struct tm, used in rcs.h
ok deraadt@
-rw-r--r--usr.bin/rcs/date.y3
-rw-r--r--usr.bin/rcs/diff3.c3
-rw-r--r--usr.bin/rcs/ident.c3
-rw-r--r--usr.bin/rcs/merge.c3
-rw-r--r--usr.bin/rcs/rcsclean.c3
-rw-r--r--usr.bin/rcs/rcsmerge.c3
-rw-r--r--usr.bin/rcs/rcsnum.c5
-rw-r--r--usr.bin/rcs/rcsparse.c3
-rw-r--r--usr.bin/rcs/rcstime.c3
-rw-r--r--usr.bin/rcs/rlog.c3
10 files changed, 21 insertions, 11 deletions
diff --git a/usr.bin/rcs/date.y b/usr.bin/rcs/date.y
index aa6200a1d68..20f5b78b588 100644
--- a/usr.bin/rcs/date.y
+++ b/usr.bin/rcs/date.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: date.y,v 1.13 2015/06/13 20:15:21 nicm Exp $ */
+/* $OpenBSD: date.y,v 1.14 2016/08/26 09:02:54 guenther Exp $ */
/*
** Originally written by Steven M. Bellovin <smb@research.att.com> while
@@ -17,6 +17,7 @@
#include <ctype.h>
#include <err.h>
#include <string.h>
+#include <time.h>
#include "rcsprog.h"
diff --git a/usr.bin/rcs/diff3.c b/usr.bin/rcs/diff3.c
index 5e5610c6b4a..ef96d0dcc9b 100644
--- a/usr.bin/rcs/diff3.c
+++ b/usr.bin/rcs/diff3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff3.c,v 1.38 2015/11/02 16:45:21 nicm Exp $ */
+/* $OpenBSD: diff3.c,v 1.39 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -69,6 +69,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "diff.h"
diff --git a/usr.bin/rcs/ident.c b/usr.bin/rcs/ident.c
index 20bded230fa..10a221a7cbd 100644
--- a/usr.bin/rcs/ident.c
+++ b/usr.bin/rcs/ident.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ident.c,v 1.31 2015/11/02 16:45:21 nicm Exp $ */
+/* $OpenBSD: ident.c,v 1.32 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
* All rights reserved.
@@ -28,6 +28,7 @@
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <unistd.h>
#include "rcsprog.h"
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"
diff --git a/usr.bin/rcs/rcsclean.c b/usr.bin/rcs/rcsclean.c
index 1b60277cf5e..2b48bc06f5b 100644
--- a/usr.bin/rcs/rcsclean.c
+++ b/usr.bin/rcs/rcsclean.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsclean.c,v 1.55 2015/11/02 16:45:21 nicm Exp $ */
+/* $OpenBSD: rcsclean.c,v 1.56 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -30,6 +30,7 @@
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <unistd.h>
#include "rcsprog.h"
diff --git a/usr.bin/rcs/rcsmerge.c b/usr.bin/rcs/rcsmerge.c
index 9b810bc03f0..8dc10f4f690 100644
--- a/usr.bin/rcs/rcsmerge.c
+++ b/usr.bin/rcs/rcsmerge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsmerge.c,v 1.56 2015/11/02 16:45:21 nicm Exp $ */
+/* $OpenBSD: rcsmerge.c,v 1.57 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
* All rights reserved.
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "rcsprog.h"
diff --git a/usr.bin/rcs/rcsnum.c b/usr.bin/rcs/rcsnum.c
index 99c0630a86a..1db78992007 100644
--- a/usr.bin/rcs/rcsnum.c
+++ b/usr.bin/rcs/rcsnum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsnum.c,v 1.18 2015/11/02 16:45:21 nicm Exp $ */
+/* $OpenBSD: rcsnum.c,v 1.19 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -26,9 +26,10 @@
#include <ctype.h>
#include <err.h>
+#include <limits.h>
#include <stdlib.h>
#include <string.h>
-#include <limits.h>
+#include <time.h>
#include "rcs.h"
#include "xmalloc.h"
diff --git a/usr.bin/rcs/rcsparse.c b/usr.bin/rcs/rcsparse.c
index 0c02edfedf7..6527da8adce 100644
--- a/usr.bin/rcs/rcsparse.c
+++ b/usr.bin/rcs/rcsparse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsparse.c,v 1.15 2015/06/13 20:15:21 nicm Exp $ */
+/* $OpenBSD: rcsparse.c,v 1.16 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2010 Tobias Stoeckmann <tobias@openbsd.org>
*
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "rcs.h"
diff --git a/usr.bin/rcs/rcstime.c b/usr.bin/rcs/rcstime.c
index 290086c6da9..1e886631402 100644
--- a/usr.bin/rcs/rcstime.c
+++ b/usr.bin/rcs/rcstime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcstime.c,v 1.5 2014/09/30 11:01:20 otto Exp $ */
+/* $OpenBSD: rcstime.c,v 1.6 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -27,6 +27,7 @@
#include <err.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "rcs.h"
diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c
index bb9d1c2302f..20b6b782d70 100644
--- a/usr.bin/rcs/rlog.c
+++ b/usr.bin/rcs/rlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlog.c,v 1.71 2015/01/16 06:40:11 deraadt Exp $ */
+/* $OpenBSD: rlog.c,v 1.72 2016/08/26 09:02:54 guenther Exp $ */
/*
* Copyright (c) 2005, 2009 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -31,6 +31,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "rcsprog.h"