Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc need <sys/stat.h>



details:   https://anonhg.NetBSD.org/src/rev/3fa2adce9388
branches:  trunk
changeset: 820527:3fa2adce9388
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 22:24:29 2017 +0000

description:
need <sys/stat.h>

diffstat:

 tests/lib/libc/c063/t_o_search.c |  9 ++++++---
 tests/lib/libc/t_cdb.c           |  7 +++++--
 2 files changed, 11 insertions(+), 5 deletions(-)

diffs (55 lines):

diff -r c88e5b16a9bf -r 3fa2adce9388 tests/lib/libc/c063/t_o_search.c
--- a/tests/lib/libc/c063/t_o_search.c  Tue Jan 10 22:10:22 2017 +0000
+++ b/tests/lib/libc/c063/t_o_search.c  Tue Jan 10 22:24:29 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_o_search.c,v 1.4 2013/03/17 04:46:06 jmmv Exp $ */
+/*     $NetBSD: t_o_search.c,v 1.5 2017/01/10 22:25:01 christos Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,9 +29,13 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_o_search.c,v 1.4 2013/03/17 04:46:06 jmmv Exp $");
+__RCSID("$NetBSD: t_o_search.c,v 1.5 2017/01/10 22:25:01 christos Exp $");
 
 #include <atf-c.h>
+
+#include <sys/param.h>
+#include <sys/stat.h>
+
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
@@ -40,7 +44,6 @@
 #include <string.h>
 #include <unistd.h>
 #include <pwd.h>
-#include <sys/param.h>
 
 /*
  * dholland 20130112: disable tests that require O_SEARCH semantics
diff -r c88e5b16a9bf -r 3fa2adce9388 tests/lib/libc/t_cdb.c
--- a/tests/lib/libc/t_cdb.c    Tue Jan 10 22:10:22 2017 +0000
+++ b/tests/lib/libc/t_cdb.c    Tue Jan 10 22:24:29 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_cdb.c,v 1.1 2012/09/27 00:38:57 joerg Exp $  */
+/*     $NetBSD: t_cdb.c,v 1.2 2017/01/10 22:24:29 christos Exp $       */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -32,9 +32,12 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_cdb.c,v 1.1 2012/09/27 00:38:57 joerg Exp $");
+__RCSID("$NetBSD: t_cdb.c,v 1.2 2017/01/10 22:24:29 christos Exp $");
 
 #include <atf-c.h>
+
+#include <sys/stat.h>
+
 #include <assert.h>
 #include <cdbr.h>
 #include <cdbw.h>



Home | Main Index | Thread Index | Old Index