Module Name: src
Committed By: christos
Date: Tue Jan 10 17:45:12 UTC 2017
Modified Files:
src/lib/libc/stdio: gettemp.c vdprintf.c
Log Message:
include <sys/stat.h>
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/stdio/gettemp.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/stdio/vdprintf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdio/gettemp.c
diff -u src/lib/libc/stdio/gettemp.c:1.20 src/lib/libc/stdio/gettemp.c:1.21
--- src/lib/libc/stdio/gettemp.c:1.20 Thu Feb 5 11:05:20 2015
+++ src/lib/libc/stdio/gettemp.c Tue Jan 10 12:45:12 2017
@@ -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>
Index: src/lib/libc/stdio/vdprintf.c
diff -u src/lib/libc/stdio/vdprintf.c:1.4 src/lib/libc/stdio/vdprintf.c:1.5
--- src/lib/libc/stdio/vdprintf.c:1.4 Fri May 17 08:55:57 2013
+++ src/lib/libc/stdio/vdprintf.c Tue Jan 10 12:45:12 2017
@@ -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>