summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/krb5_init_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c
index 97c8ff51f3..d895d7a336 100644
--- a/source4/auth/kerberos/krb5_init_context.c
+++ b/source4/auth/kerberos/krb5_init_context.c
@@ -257,7 +257,7 @@ static krb5_error_code smb_krb5_send_and_recv_func(krb5_context context,
case PF_INET:
name = "ipv4";
break;
-#ifdef PF_INET6
+#ifdef HAVE_SOCKET_IPV6
case PF_INET6:
name = "ipv6";
break;