jcs's openbsd hax
openbsd

Pull in <time.h> for struct tm, used in rcs.h

ok deraadt@

guenther 099bc362 64a15077

+21 -11
+2 -1
usr.bin/rcs/date.y
··· 1 1 %{ 2 - /* $OpenBSD: date.y,v 1.13 2015/06/13 20:15:21 nicm Exp $ */ 2 + /* $OpenBSD: date.y,v 1.14 2016/08/26 09:02:54 guenther Exp $ */ 3 3 4 4 /* 5 5 ** Originally written by Steven M. Bellovin <smb@research.att.com> while ··· 17 17 #include <ctype.h> 18 18 #include <err.h> 19 19 #include <string.h> 20 + #include <time.h> 20 21 21 22 #include "rcsprog.h" 22 23
+2 -1
usr.bin/rcs/diff3.c
··· 1 - /* $OpenBSD: diff3.c,v 1.38 2015/11/02 16:45:21 nicm Exp $ */ 1 + /* $OpenBSD: diff3.c,v 1.39 2016/08/26 09:02:54 guenther Exp $ */ 2 2 3 3 /* 4 4 * Copyright (C) Caldera International Inc. 2001-2002. ··· 69 69 #include <stdio.h> 70 70 #include <stdlib.h> 71 71 #include <string.h> 72 + #include <time.h> 72 73 #include <unistd.h> 73 74 74 75 #include "diff.h"
+2 -1
usr.bin/rcs/ident.c
··· 1 - /* $OpenBSD: ident.c,v 1.31 2015/11/02 16:45:21 nicm Exp $ */ 1 + /* $OpenBSD: ident.c,v 1.32 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> 4 4 * All rights reserved. ··· 28 28 #include <err.h> 29 29 #include <stdio.h> 30 30 #include <stdlib.h> 31 + #include <time.h> 31 32 #include <unistd.h> 32 33 33 34 #include "rcsprog.h"
+2 -1
usr.bin/rcs/merge.c
··· 1 - /* $OpenBSD: merge.c,v 1.9 2014/10/10 08:15:25 otto Exp $ */ 1 + /* $OpenBSD: merge.c,v 1.10 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> 4 4 * All rights reserved. ··· 27 27 #include <err.h> 28 28 #include <stdio.h> 29 29 #include <stdlib.h> 30 + #include <time.h> 30 31 #include <unistd.h> 31 32 32 33 #include "rcsprog.h"
+2 -1
usr.bin/rcs/rcsclean.c
··· 1 - /* $OpenBSD: rcsclean.c,v 1.55 2015/11/02 16:45:21 nicm Exp $ */ 1 + /* $OpenBSD: rcsclean.c,v 1.56 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2005 Joris Vink <joris@openbsd.org> 4 4 * All rights reserved. ··· 30 30 #include <err.h> 31 31 #include <stdio.h> 32 32 #include <stdlib.h> 33 + #include <time.h> 33 34 #include <unistd.h> 34 35 35 36 #include "rcsprog.h"
+2 -1
usr.bin/rcs/rcsmerge.c
··· 1 - /* $OpenBSD: rcsmerge.c,v 1.56 2015/11/02 16:45:21 nicm Exp $ */ 1 + /* $OpenBSD: rcsmerge.c,v 1.57 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> 4 4 * All rights reserved. ··· 28 28 #include <stdio.h> 29 29 #include <stdlib.h> 30 30 #include <string.h> 31 + #include <time.h> 31 32 #include <unistd.h> 32 33 33 34 #include "rcsprog.h"
+3 -2
usr.bin/rcs/rcsnum.c
··· 1 - /* $OpenBSD: rcsnum.c,v 1.18 2015/11/02 16:45:21 nicm Exp $ */ 1 + /* $OpenBSD: rcsnum.c,v 1.19 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> 4 4 * All rights reserved. ··· 26 26 27 27 #include <ctype.h> 28 28 #include <err.h> 29 + #include <limits.h> 29 30 #include <stdlib.h> 30 31 #include <string.h> 31 - #include <limits.h> 32 + #include <time.h> 32 33 33 34 #include "rcs.h" 34 35 #include "xmalloc.h"
+2 -1
usr.bin/rcs/rcsparse.c
··· 1 - /* $OpenBSD: rcsparse.c,v 1.15 2015/06/13 20:15:21 nicm Exp $ */ 1 + /* $OpenBSD: rcsparse.c,v 1.16 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2010 Tobias Stoeckmann <tobias@openbsd.org> 4 4 * ··· 24 24 #include <stdio.h> 25 25 #include <stdlib.h> 26 26 #include <string.h> 27 + #include <time.h> 27 28 #include <unistd.h> 28 29 29 30 #include "rcs.h"
+2 -1
usr.bin/rcs/rcstime.c
··· 1 - /* $OpenBSD: rcstime.c,v 1.5 2014/09/30 11:01:20 otto Exp $ */ 1 + /* $OpenBSD: rcstime.c,v 1.6 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2006 Joris Vink <joris@openbsd.org> 4 4 * All rights reserved. ··· 27 27 #include <err.h> 28 28 #include <stdlib.h> 29 29 #include <string.h> 30 + #include <time.h> 30 31 31 32 #include "rcs.h" 32 33
+2 -1
usr.bin/rcs/rlog.c
··· 1 - /* $OpenBSD: rlog.c,v 1.71 2015/01/16 06:40:11 deraadt Exp $ */ 1 + /* $OpenBSD: rlog.c,v 1.72 2016/08/26 09:02:54 guenther Exp $ */ 2 2 /* 3 3 * Copyright (c) 2005, 2009 Joris Vink <joris@openbsd.org> 4 4 * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> ··· 31 31 #include <stdio.h> 32 32 #include <stdlib.h> 33 33 #include <string.h> 34 + #include <time.h> 34 35 #include <unistd.h> 35 36 36 37 #include "rcsprog.h"