Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/stdio Need <sys/stat.h>



details:   https://anonhg.NetBSD.org/src/rev/7650da673be4
branches:  trunk
changeset: 820484:7650da673be4
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 17:00:58 2017 +0000

description:
Need <sys/stat.h>

diffstat:

 lib/libc/stdio/fdopen.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r c9abd24b2550 -r 7650da673be4 lib/libc/stdio/fdopen.c
--- a/lib/libc/stdio/fdopen.c   Tue Jan 10 16:51:30 2017 +0000
+++ b/lib/libc/stdio/fdopen.c   Tue Jan 10 17:00:58 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdopen.c,v 1.16 2012/03/15 18:22:30 christos Exp $     */
+/*     $NetBSD: fdopen.c,v 1.17 2017/01/10 17:00:58 christos Exp $     */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -37,12 +37,14 @@
 #if 0
 static char sccsid[] = "@(#)fdopen.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: fdopen.c,v 1.16 2012/03/15 18:22:30 christos Exp $");
+__RCSID("$NetBSD: fdopen.c,v 1.17 2017/01/10 17:00:58 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
+
 #include <sys/types.h>
+#include <sys/stat.h>
 
 #include <assert.h>
 #include <errno.h>



Home | Main Index | Thread Index | Old Index