summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-15 08:29:45 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-15 01:22:51 +0200
commit9c2aa5b18d60237a8afb5537b91b8d3d45353fd4 (patch)
tree7af4440b01403af9df3516880adc3d6f10e30655 /source3/include
parent4389bf4bc94eefe034e7551371e6e43cca8d8bdb (diff)
downloadsamba-9c2aa5b18d60237a8afb5537b91b8d3d45353fd4.tar.gz
samba-9c2aa5b18d60237a8afb5537b91b8d3d45353fd4.tar.bz2
samba-9c2aa5b18d60237a8afb5537b91b8d3d45353fd4.zip
s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.h
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104
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;