svn commit: r273516 - head/contrib/netbsd-tests/lib/libc/sys
Garrett Cooper
ngie at FreeBSD.org
Thu Oct 23 05:46:11 UTC 2014
Author: ngie
Date: Thu Oct 23 05:46:10 2014
New Revision: 273516
URL: https://svnweb.freebsd.org/changeset/base/273516
Log:
Add netinet/in.h for struct sockaddr_in
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_stat.c
Modified: head/contrib/netbsd-tests/lib/libc/sys/t_stat.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_stat.c Thu Oct 23 04:47:32 2014 (r273515)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_stat.c Thu Oct 23 05:46:10 2014 (r273516)
@@ -47,6 +47,10 @@ __RCSID("$NetBSD: t_stat.c,v 1.4 2012/03
#include <stdio.h>
+#if defined(__FreeBSD__)
+#include <netinet/in.h>
+#endif
+
static const char *path = "stat";
ATF_TC_WITH_CLEANUP(stat_chflags);
More information about the svn-src-head
mailing list