Date: Tue, 21 Oct 2014 17:58:54 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273391 - head/contrib/netbsd-tests/lib/libc/sys Message-ID: <201410211758.s9LHwsph098478@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410211758.s9LHwsph098478>