mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Add missing #include for sys/stat.h for fchmod
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
2a0388e163
commit
6da1ceb210
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273391
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user