svn commit: r273410 - head/contrib/netbsd-tests/lib/libc/sys
Garrett Cooper
ngie at FreeBSD.org
Tue Oct 21 20:17:05 UTC 2014
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)
{
More information about the svn-src-all
mailing list