configure fixes.
[apps/madmutt.git] / imap / auth_gss.c
index 8fe099c..a014a02 100644 (file)
@@ -13,9 +13,7 @@
 # include "config.h"
 #endif
 
-#include "mutt.h"
-#include "imap_private.h"
-#include "auth.h"
+#ifdef USE_GSS
 
 #include <lib-lib/macros.h>
 
 #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)))
 {
@@ -223,3 +225,5 @@ bail:
   mutt_sleep (2);
   return IMAP_AUTH_FAILURE;
 }
+
+#endif /* USE_GSS */