summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/c063/t_fchownat.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/c063/t_fchownat.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/c063/t_fchownat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/c063/t_fchownat.c b/contrib/netbsd-tests/lib/libc/c063/t_fchownat.c
index 80c7606..2ca14cf 100644
--- a/contrib/netbsd-tests/lib/libc/c063/t_fchownat.c
+++ b/contrib/netbsd-tests/lib/libc/c063/t_fchownat.c
@@ -41,6 +41,9 @@ __RCSID("$NetBSD: t_fchownat.c,v 1.3 2013/03/17 04:46:06 jmmv Exp $");
#include <unistd.h>
#include <pwd.h>
#include <sys/param.h>
+#ifdef __FreeBSD__
+#include <sys/stat.h>
+#endif
#define DIR "dir"
#define FILE "dir/fchownat"
OpenPOWER on IntegriCloud