diff options
author | ngie <ngie@FreeBSD.org> | 2014-10-23 05:46:10 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-10-23 05:46:10 +0000 |
commit | b5892a07cc0352a28206a611d05a8b9ebe491293 (patch) | |
tree | ece3b724ba788a80eee681f1259878379617ed4d /contrib/netbsd-tests/lib/libc | |
parent | 8f4c0531c0b58d2d364de04c6369d573dc0f1a69 (diff) | |
download | FreeBSD-src-b5892a07cc0352a28206a611d05a8b9ebe491293.zip FreeBSD-src-b5892a07cc0352a28206a611d05a8b9ebe491293.tar.gz |
Add netinet/in.h for struct sockaddr_in
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/sys/t_stat.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stdio.h> +#if defined(__FreeBSD__) +#include <netinet/in.h> +#endif + static const char *path = "stat"; ATF_TC_WITH_CLEANUP(stat_chflags); |