s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 14 Apr 2011 22:29:45 +0000 (08:29 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Apr 2011 23:22:51 +0000 (01:22 +0200)
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104

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;