Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/vfs add missing headers



details:   https://anonhg.NetBSD.org/src/rev/79334ddafb79
branches:  trunk
changeset: 756489:79334ddafb79
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jul 19 16:00:45 2010 +0000

description:
add missing headers

diffstat:

 tests/fs/vfs/t_rmdirrace.c |  3 ++-
 tests/fs/vfs/t_vfsops.c    |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r b94bac5d2abb -r 79334ddafb79 tests/fs/vfs/t_rmdirrace.c
--- a/tests/fs/vfs/t_rmdirrace.c        Mon Jul 19 15:46:37 2010 +0000
+++ b/tests/fs/vfs/t_rmdirrace.c        Mon Jul 19 16:00:45 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_rmdirrace.c,v 1.6 2010/07/13 11:12:19 pooka Exp $    */
+/*     $NetBSD: t_rmdirrace.c,v 1.7 2010/07/19 16:00:45 pooka Exp $    */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -34,6 +34,7 @@
 #include <atf-c.h>
 #include <fcntl.h>
 #include <pthread.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 #include <rump/rump_syscalls.h>
diff -r b94bac5d2abb -r 79334ddafb79 tests/fs/vfs/t_vfsops.c
--- a/tests/fs/vfs/t_vfsops.c   Mon Jul 19 15:46:37 2010 +0000
+++ b/tests/fs/vfs/t_vfsops.c   Mon Jul 19 16:00:45 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_vfsops.c,v 1.3 2010/07/16 17:49:38 njoly Exp $       */
+/*     $NetBSD: t_vfsops.c,v 1.4 2010/07/19 16:00:45 pooka Exp $       */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -30,7 +30,9 @@
 #include <sys/statvfs.h>
 
 #include <atf-c.h>
+#include <dirent.h>
 #include <fcntl.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 #include <rump/rump_syscalls.h>



Home | Main Index | Thread Index | Old Index