Module Name: src
Committed By: christos
Date: Tue Jan 10 20:43:08 UTC 2017
Modified Files:
src/bin/sh: eval.c redir.c
Log Message:
add missing <sys/stat.h>
To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/bin/sh/eval.c
cvs rdiff -u -r1.47 -r1.48 src/bin/sh/redir.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/eval.c
diff -u src/bin/sh/eval.c:1.128 src/bin/sh/eval.c:1.129
--- src/bin/sh/eval.c:1.128 Wed Jun 1 01:10:41 2016
+++ src/bin/sh/eval.c Tue Jan 10 15:43:08 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: eval.c,v 1.128 2016/06/01 05:10:41 kre Exp $ */
+/* $NetBSD: eval.c,v 1.129 2017/01/10 20:43:08 christos Exp $ */
/*-
* Copyright (c) 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95";
#else
-__RCSID("$NetBSD: eval.c,v 1.128 2016/06/01 05:10:41 kre Exp $");
+__RCSID("$NetBSD: eval.c,v 1.129 2017/01/10 20:43:08 christos Exp $");
#endif
#endif /* not lint */
@@ -50,6 +50,7 @@ __RCSID("$NetBSD: eval.c,v 1.128 2016/06
#include <limits.h>
#include <unistd.h>
#include <sys/fcntl.h>
+#include <sys/stat.h>
#include <sys/times.h>
#include <sys/param.h>
#include <sys/types.h>
Index: src/bin/sh/redir.c
diff -u src/bin/sh/redir.c:1.47 src/bin/sh/redir.c:1.48
--- src/bin/sh/redir.c:1.47 Thu May 12 09:31:37 2016
+++ src/bin/sh/redir.c Tue Jan 10 15:43:08 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: redir.c,v 1.47 2016/05/12 13:31:37 kre Exp $ */
+/* $NetBSD: redir.c,v 1.48 2017/01/10 20:43:08 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,12 +37,13 @@
#if 0
static char sccsid[] = "@(#)redir.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: redir.c,v 1.47 2016/05/12 13:31:37 kre Exp $");
+__RCSID("$NetBSD: redir.c,v 1.48 2017/01/10 20:43:08 christos Exp $");
#endif
#endif /* not lint */
#include <sys/types.h>
#include <sys/param.h> /* PIPE_BUF */
+#include <sys/stat.h>
#include <signal.h>
#include <string.h>
#include <fcntl.h>