X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fauth_gss.c;h=978d5a46f40a6b7ab7ec55b2a71dd230a7c7722c;hp=8fe099cf24d02b88c899e8da88d7323b67ce14c9;hb=cef32312aa7c285411e817304de98f3873cba6be;hpb=23e6291cb5d5b4cd2008403d8b628007fd75ff23 diff --git a/imap/auth_gss.c b/imap/auth_gss.c index 8fe099c..978d5a4 100644 --- a/imap/auth_gss.c +++ b/imap/auth_gss.c @@ -9,15 +9,9 @@ /* GSS login/authentication code */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include "mutt.h" -#include "imap_private.h" -#include "auth.h" +#include -#include +#ifdef USE_GSS #include @@ -35,6 +29,10 @@ #define GSS_AUTH_P_INTEGRITY 2 #define GSS_AUTH_P_PRIVACY 4 +#include "mutt.h" +#include "imap_private.h" +#include "auth.h" + /* imap_auth_gss: AUTH=GSSAPI support. */ imap_auth_res_t imap_auth_gss (IMAP_DATA * idata, const char *method __attribute__ ((unused))) { @@ -42,7 +40,6 @@ imap_auth_res_t imap_auth_gss (IMAP_DATA * idata, const char *method __attribute gss_buffer_t sec_token; gss_name_t target_name; gss_ctx_id_t context; - gss_OID mech_name; gss_qop_t quality; int cflags; OM_uint32 maj_stat, min_stat; @@ -223,3 +220,5 @@ bail: mutt_sleep (2); return IMAP_AUTH_FAILURE; } + +#endif /* USE_GSS */