Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/e57adffe84b9
branches:  trunk
changeset: 820488:e57adffe84b9
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 17:45:12 2017 +0000

description:
include <sys/stat.h>

diffstat:

 lib/libc/stdio/gettemp.c  |  5 +++--
 lib/libc/stdio/vdprintf.c |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 0556588553a9 -r e57adffe84b9 lib/libc/stdio/gettemp.c
--- a/lib/libc/stdio/gettemp.c  Tue Jan 10 17:44:51 2017 +0000
+++ b/lib/libc/stdio/gettemp.c  Tue Jan 10 17:45:12 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gettemp.c,v 1.20 2015/02/05 16:05:20 christos Exp $    */
+/*     $NetBSD: gettemp.c,v 1.21 2017/01/10 17:45:12 christos Exp $    */
 
 /*
  * Copyright (c) 1987, 1993
@@ -38,11 +38,12 @@
 #if 0
 static char sccsid[] = "@(#)mktemp.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: gettemp.c,v 1.20 2015/02/05 16:05:20 christos Exp $");
+__RCSID("$NetBSD: gettemp.c,v 1.21 2017/01/10 17:45:12 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/param.h>
+#include <sys/stat.h>
 #include <fcntl.h>
 #include <string.h>
 
diff -r 0556588553a9 -r e57adffe84b9 lib/libc/stdio/vdprintf.c
--- a/lib/libc/stdio/vdprintf.c Tue Jan 10 17:44:51 2017 +0000
+++ b/lib/libc/stdio/vdprintf.c Tue Jan 10 17:45:12 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vdprintf.c,v 1.4 2013/05/17 12:55:57 joerg Exp $       */
+/*     $NetBSD: vdprintf.c,v 1.5 2017/01/10 17:45:12 christos Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -34,11 +34,12 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: vdprintf.c,v 1.4 2013/05/17 12:55:57 joerg Exp $");
+__RCSID("$NetBSD: vdprintf.c,v 1.5 2017/01/10 17:45:12 christos Exp $");
 #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