add missing <sys/stat.h>

This commit is contained in:
christos 2017-01-10 20:43:08 +00:00
parent bb7174741f
commit 7792ef1ac5
2 changed files with 6 additions and 4 deletions

View File

@ -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/01 05:10:41 kre Exp $");
#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>

View File

@ -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>