summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bio_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bio/bio_local.h')
-rw-r--r--crypto/bio/bio_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bio_local.h b/crypto/bio/bio_local.h
index 6ba0196ce6..fcabc7b9cd 100644
--- a/crypto/bio/bio_local.h
+++ b/crypto/bio/bio_local.h
@@ -73,7 +73,7 @@ struct bio_addrinfo_st {
union bio_addr_st {
struct sockaddr sa;
-# ifdef AF_INET6
+# if OPENSSL_USE_IPV6
struct sockaddr_in6 s_in6;
# endif
struct sockaddr_in s_in;