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) {