diff options
author | ngie <ngie@FreeBSD.org> | 2015-12-05 21:49:35 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-12-05 21:49:35 +0000 |
commit | 5e0ed4fa0a68fde14782f68c7461b8b95176515b (patch) | |
tree | 7ee2292c97b1b6b9a0064ff90fcd38f441a9828d /contrib/netbsd-tests/lib/libc/c063/t_readlinkat.c | |
parent | 11ddbfbc5cbb55d74dd49e7d13251e56cb1dff91 (diff) | |
download | FreeBSD-src-5e0ed4fa0a68fde14782f68c7461b8b95176515b.zip FreeBSD-src-5e0ed4fa0a68fde14782f68c7461b8b95176515b.tar.gz |
MFC r283801,r290846,r290851,r290856,r290860:
r283801 (by araujo):
Fix warning of implicit declaration of function 'mkdir'.
Differential Revision: D2662
Reviewed by: rodrigc, ngie
r290846:
Bump WARNS to 2
Sponsored by: EMC / Isilon Storage Division
r290851:
Change WARNS to 2 across the board with all the libc testcases
This effectively "reverts" r290846
Sponsored by: EMC / Isilon Storage Division
r290856 (by bapt):
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
r290860 (by bapt):
Remove unused variables to fix building world
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/c063/t_readlinkat.c')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/c063/t_readlinkat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/c063/t_readlinkat.c b/contrib/netbsd-tests/lib/libc/c063/t_readlinkat.c index d354ff5..c9bc267 100644 --- a/contrib/netbsd-tests/lib/libc/c063/t_readlinkat.c +++ b/contrib/netbsd-tests/lib/libc/c063/t_readlinkat.c @@ -40,6 +40,9 @@ __RCSID("$NetBSD: t_readlinkat.c,v 1.3 2013/03/17 04:46:06 jmmv Exp $"); #include <string.h> #include <unistd.h> #include <sys/param.h> +#ifdef __FreeBSD__ +#include <sys/stat.h> +#endif #define DIR "dir" #define FILE "dir/readlinkat" |