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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to