summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb_krb5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/smb_krb5.h b/source3/include/smb_krb5.h
index 042b7ebe40..d87dc79ff9 100644
--- a/source3/include/smb_krb5.h
+++ b/source3/include/smb_krb5.h
@@ -1,6 +1,8 @@
#ifndef _HEADER_smb_krb5_h
#define _HEADER_smb_krb5_h
+#ifdef HAVE_KRB5
+
#define KRB5_PRIVATE 1 /* this file uses PRIVATE interfaces! */
/* this file uses DEPRECATED interfaces! */
@@ -40,7 +42,6 @@
#define AP_OPTS_USE_SUBKEY 0
#endif
-#ifdef HAVE_KRB5
typedef struct {
#if defined(HAVE_MAGIC_IN_KRB5_ADDRESS) && defined(HAVE_ADDRTYPE_IN_KRB5_ADDRESS) /* MIT */
krb5_address **addrs;