NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/51804: Fix up #includes in tests/lib/libc/c063/...
The following reply was made to PR bin/51804; it has been noted by GNATS.
From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/51804: Fix up #includes in tests/lib/libc/c063/...
Date: Tue, 10 Jan 2017 00:42:36 -0800
--Apple-Mail=_3237E761-E80E-4572-9671-973632F43029
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
Patch attached.
--Apple-Mail=_3237E761-E80E-4572-9671-973632F43029
Content-Disposition: attachment;
filename=c063-header-fixup.patch
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="c063-header-fixup.patch"
Content-Transfer-Encoding: 7bit
Index: t_faccessat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_faccessat.c,v
retrieving revision 1.2
diff -u -r1.2 t_faccessat.c
--- t_faccessat.c 17 Mar 2013 04:46:06 -0000 1.2
+++ t_faccessat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_faccessat.c,v 1.2 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -39,7 +41,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
#define DIR "dir"
#define FILE "dir/faccessat"
Index: t_fchmodat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_fchmodat.c,v
retrieving revision 1.2
diff -u -r1.2 t_fchmodat.c
--- t_fchmodat.c 17 Mar 2013 04:46:06 -0000 1.2
+++ t_fchmodat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_fchmodat.c,v 1.2 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -39,7 +41,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
#define DIR "dir"
#define FILE "dir/fchmodat"
Index: t_fchownat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_fchownat.c,v
retrieving revision 1.3
diff -u -r1.3 t_fchownat.c
--- t_fchownat.c 17 Mar 2013 04:46:06 -0000 1.3
+++ t_fchownat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_fchownat.c,v 1.3 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -40,7 +42,6 @@
#include <string.h>
#include <unistd.h>
#include <pwd.h>
-#include <sys/param.h>
#define DIR "dir"
#define FILE "dir/fchownat"
Index: t_fstatat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_fstatat.c,v
retrieving revision 1.2
diff -u -r1.2 t_fstatat.c
--- t_fstatat.c 17 Mar 2013 04:46:06 -0000 1.2
+++ t_fstatat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_fstatat.c,v 1.2 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -39,7 +41,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
#define DIR "dir"
#define FILE "dir/fstatat"
Index: t_openat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_openat.c,v
retrieving revision 1.2
diff -u -r1.2 t_openat.c
--- t_openat.c 17 Mar 2013 04:46:06 -0000 1.2
+++ t_openat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_openat.c,v 1.2 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -39,7 +41,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
#define DIR "dir"
#define FILE "dir/openat"
Index: t_readlinkat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_readlinkat.c,v
retrieving revision 1.3
diff -u -r1.3 t_readlinkat.c
--- t_readlinkat.c 17 Mar 2013 04:46:06 -0000 1.3
+++ t_readlinkat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_readlinkat.c,v 1.3 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -39,7 +41,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
#define DIR "dir"
#define FILE "dir/readlinkat"
Index: t_unlinkat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_unlinkat.c,v
retrieving revision 1.2
diff -u -r1.2 t_unlinkat.c
--- t_unlinkat.c 17 Mar 2013 04:46:06 -0000 1.2
+++ t_unlinkat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,8 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_unlinkat.c,v 1.2 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -39,7 +41,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
#define DIR "dir"
#define FILE "dir/unlinkat"
Index: t_utimensat.c
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/c063/t_utimensat.c,v
retrieving revision 1.5
diff -u -r1.5 t_utimensat.c
--- t_utimensat.c 17 Mar 2013 04:46:06 -0000 1.5
+++ t_utimensat.c 10 Jan 2017 08:31:01 -0000
@@ -31,6 +31,9 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_utimensat.c,v 1.5 2013/03/17 04:46:06 jmmv Exp $");
+#include <sys/param.h>
+#include <sys/stat.h>
+#include <sys/time.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
@@ -39,8 +42,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
-#include <sys/time.h>
#define DIR "dir"
#define FILE "dir/utimensat"
--Apple-Mail=_3237E761-E80E-4572-9671-973632F43029--
Home |
Main Index |
Thread Index |
Old Index