From 9c2aa5b18d60237a8afb5537b91b8d3d45353fd4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 15 Apr 2011 08:29:45 +1000 Subject: s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.h Autobuild-User: Andrew Bartlett Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104 --- source3/include/smb_krb5.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit