recvfrom takes socklen_t * on NetBSD
authorChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:10:29 +0000 (20:10 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:10:29 +0000 (20:10 +0000)
m4/macros/type_recvfrom_fromlen.m4

index 9a262e4d9e8759ac5867f952ea11feb55fb9f098..8021ab402f16a19c53d89ab437c25fea21fe7504 100644 (file)
@@ -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