summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-09 21:26:14 +0000
committerngie <ngie@FreeBSD.org>2017-02-09 21:26:14 +0000
commitfec4dffc3487939185515738cb54d7b0e89a1921 (patch)
tree0c981da44e836f6aa43b5e5417695a0a6241d9bf /contrib/netbsd-tests/lib
parenta7022cbffe1ecbf64f5010813bbfad9220560101 (diff)
downloadFreeBSD-src-fec4dffc3487939185515738cb54d7b0e89a1921.zip
FreeBSD-src-fec4dffc3487939185515738cb54d7b0e89a1921.tar.gz
MFC r277648:
r277648 (by jilles): Enable utimensat tests from NetBSD. As with other tests from c063, a required #include <sys/stat.h> was missing.
Diffstat (limited to 'contrib/netbsd-tests/lib')
-rw-r--r--contrib/netbsd-tests/lib/libc/c063/t_utimensat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c b/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c
index 9f21fd6..bbfa28b 100644
--- a/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c
+++ b/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c
@@ -40,6 +40,9 @@ __RCSID("$NetBSD: t_utimensat.c,v 1.5 2013/03/17 04:46:06 jmmv Exp $");
#include <string.h>
#include <unistd.h>
#include <sys/param.h>
+#ifdef __FreeBSD__
+#include <sys/stat.h>
+#endif
#include <sys/time.h>
#define DIR "dir"
OpenPOWER on IntegriCloud