Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2014 20:17:05 +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: r273410 - head/contrib/netbsd-tests/lib/libc/sys
Message-ID:  <201410212017.s9LKH5Ic068450@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Oct 21 20:17:05 2014
New Revision: 273410
URL: https://svnweb.freebsd.org/changeset/base/273410

Log:
  Add sys/socket.h #include for bind(2), et al
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/sys/t_connect.c

Modified: head/contrib/netbsd-tests/lib/libc/sys/t_connect.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/sys/t_connect.c	Tue Oct 21 20:11:05 2014	(r273409)
+++ head/contrib/netbsd-tests/lib/libc/sys/t_connect.c	Tue Oct 21 20:17:05 2014	(r273410)
@@ -36,6 +36,10 @@
 
 #include <atf-c.h>
 
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#endif
+
 ATF_TC(connect_low_port);
 ATF_TC_HEAD(connect_low_port, tc)
 {



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