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

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 };