Add missing #include for sys/stat.h for fchmod

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-21 17:58:53 +00:00
parent 2a0388e163
commit 6da1ceb210
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273391

View File

@ -40,6 +40,10 @@ __RCSID("$NetBSD: t_access.c,v 1.1 2011/07/07 06:57:53 jruoho Exp $");
#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 };