aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-02 20:57:10 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-02 20:57:10 +0000
commit9c20441bcbf835ed45f5afcc1a8e52cc7dce2563 (patch)
tree2a58466e5d4391eff8e34c17dc158723c956bacf /configure.in
parent89d268848f769f761f9cd128aa401c38ab470c74 (diff)
downloadtor-9c20441bcbf835ed45f5afcc1a8e52cc7dce2563.tar.gz
tor-9c20441bcbf835ed45f5afcc1a8e52cc7dce2563.zip
Only set sin_len/sin6_len when they exist.
svn:r17851
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 58ea9484eb..395c09984a 100644
--- a/configure.in
+++ b/configure.in
@@ -446,7 +446,7 @@ AC_CHECK_TYPES([struct in6_addr, struct sockaddr_in6, sa_family_t], , ,
#endif
#endif
])
-AC_CHECK_MEMBERS([struct in6_addr.s6_addr32, struct in6_addr.s6_addr16], , ,
+AC_CHECK_MEMBERS([struct in6_addr.s6_addr32, struct in6_addr.s6_addr16, struct sockaddr_in.sin_len, struct sockaddr_in6.sin6_len], , ,
[#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif