From bcf9fd7eff4a9c78d418009138980d5d427ad910 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 17 Sep 2008 20:10:29 +0000 Subject: [PATCH] recvfrom takes socklen_t * on NetBSD --- m4/macros/type_recvfrom_fromlen.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m4/macros/type_recvfrom_fromlen.m4 b/m4/macros/type_recvfrom_fromlen.m4 index 9a262e4..8021ab4 100644 --- a/m4/macros/type_recvfrom_fromlen.m4 +++ b/m4/macros/type_recvfrom_fromlen.m4 @@ -18,6 +18,8 @@ case "${host_os}" in ac_cv_recvfrom_fromlen="int" ;; macosx* ) ac_cv_recvfrom_fromlen="socklen_t" ;; + netbsd* ) + ac_cv_recvfrom_fromlen="socklen_t" ;; * ) ac_cv_recvfrom_fromlen="int" ;; esac -- 2.43.0