libcli/auth Fix compile on hosts without krb5
authorAndrew Bartlett <abartlet@samba.org>
Thu, 14 Apr 2011 08:21:45 +0000 (18:21 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Apr 2011 09:08:49 +0000 (11:08 +0200)
Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 11:08:49 CEST 2011 on sn-devel-104

libcli/auth/krb5_wrap.c

index 48f50ec02eee76edf12e0c1489cb3559b08ffd3e..0a466fdd4ea31a323805e66eaa5fdb60547953ed 100644 (file)
 */
 
 #include "includes.h"
-#include "libcli/auth/krb5_wrap.h"
-
 #ifdef HAVE_KRB5
 
+#include "libcli/auth/krb5_wrap.h"
+
 #if defined(HAVE_KRB5_PRINCIPAL2SALT) && defined(HAVE_KRB5_USE_ENCTYPE) && defined(HAVE_KRB5_STRING_TO_KEY) && defined(HAVE_KRB5_ENCRYPT_BLOCK)
 int create_kerberos_key_from_string_direct(krb5_context context,
                                                  krb5_principal host_princ,