svn commit: r273391 - head/contrib/netbsd-tests/lib/libc/sys
Garrett Cooper
ngie at FreeBSD.org
Tue Oct 21 17:58:54 UTC 2014
Author: ngie
Date: Tue Oct 21 17:58:53 2014
New Revision: 273391
URL: https://svnweb.freebsd.org/changeset/base/273391
Log:
Add missing #include for sys/stat.h for fchmod
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_access.c
Modified: head/contrib/netbsd-tests/lib/libc/sys/t_access.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_access.c Tue Oct 21 17:57:12 2014 (r273390)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_access.c Tue Oct 21 17:58:53 2014 (r273391)
@@ -40,6 +40,10 @@ __RCSID("$NetBSD: t_access.c,v 1.1 2011/
#include <atf-c.h>
+#if defined(__FreeBSD__)
+#include <sys/stat.h>
+#endif
+
static const char path[] = "access";
static const int mode[4] = { R_OK, W_OK, X_OK, F_OK };
More information about the svn-src-all
mailing list