Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 05:46:11 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273516 - head/contrib/netbsd-tests/lib/libc/sys
Message-ID:  <201410230546.s9N5kBDB020243@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410230546.s9N5kBDB020243>