From b5892a07cc0352a28206a611d05a8b9ebe491293 Mon Sep 17 00:00:00 2001 From: ngie Date: Thu, 23 Oct 2014 05:46:10 +0000 Subject: Add netinet/in.h for struct sockaddr_in Sponsored by: EMC / Isilon Storage Division --- contrib/netbsd-tests/lib/libc/sys/t_stat.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/netbsd-tests/lib/libc') diff --git a/contrib/netbsd-tests/lib/libc/sys/t_stat.c b/contrib/netbsd-tests/lib/libc/sys/t_stat.c index 0312e2f..e96d772 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_stat.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_stat.c @@ -47,6 +47,10 @@ __RCSID("$NetBSD: t_stat.c,v 1.4 2012/03/17 08:37:08 jruoho Exp $"); #include +#if defined(__FreeBSD__) +#include +#endif + static const char *path = "stat"; ATF_TC_WITH_CLEANUP(stat_chflags); -- cgit v1.1