Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh add missing <sys/stat.h>



details:   https://anonhg.NetBSD.org/src/rev/d7cb2932f6b6
branches:  trunk
changeset: 820503:d7cb2932f6b6
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 20:43:08 2017 +0000

description:
add missing <sys/stat.h>

diffstat:

 bin/sh/eval.c  |  5 +++--
 bin/sh/redir.c |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r 5691902ffa14 -r d7cb2932f6b6 bin/sh/eval.c
--- a/bin/sh/eval.c     Tue Jan 10 20:41:40 2017 +0000
+++ b/bin/sh/eval.c     Tue Jan 10 20:43:08 2017 +0000
@@ -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 @@
 #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>
diff -r 5691902ffa14 -r d7cb2932f6b6 bin/sh/redir.c
--- a/bin/sh/redir.c    Tue Jan 10 20:41:40 2017 +0000
+++ b/bin/sh/redir.c    Tue Jan 10 20:43:08 2017 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index