s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.h
[samba.git] / source3 / include / smb_krb5.h
index 042b7ebe40f54d55e21ddb604bb7d843bce0b991..d87dc79ff9f70383d93110afe6439a2b8eb00074 100644 (file)
@@ -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;