From 100236adc107eaeaa35c77a31da111cfc67ece64 Mon Sep 17 00:00:00 2001 From: ngie Date: Tue, 21 Oct 2014 20:17:05 +0000 Subject: [PATCH] Add sys/socket.h #include for bind(2), et al Sponsored by: EMC / Isilon Storage Division --- contrib/netbsd-tests/lib/libc/sys/t_connect.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/netbsd-tests/lib/libc/sys/t_connect.c b/contrib/netbsd-tests/lib/libc/sys/t_connect.c index d161ee341583..e49220649855 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_connect.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_connect.c @@ -36,6 +36,10 @@ #include +#ifdef __FreeBSD__ +#include +#endif + ATF_TC(connect_low_port); ATF_TC_HEAD(connect_low_port, tc) {