#endif
#include "mutt.h"
-#ifdef USE_IMAP
#include "mx.h"
-#include "imap.h"
-#endif
+#include <imap/imap.h>
#ifdef USE_NNTP
#include "nntp.h"
#endif
char dirpart[_POSIX_PATH_MAX], exp_dirpart[_POSIX_PATH_MAX];
char filepart[_POSIX_PATH_MAX];
-#ifdef USE_IMAP
char imap_path[LONG_STRING];
-#endif
debug_print (2, ("completing %s\n", s));
}
#endif
-#ifdef USE_IMAP
/* we can use '/' as a delimiter, imap_complete rewrites it */
if (*s == '=' || *s == '+' || *s == '!') {
const char *q = NONULL(*s == '!' ? Spoolfile : Maildir);
if (mx_get_magic (imap_path) == M_IMAP)
return imap_complete (s, slen, imap_path);
-#endif
if (*s == '=' || *s == '+' || *s == '!') {
dirpart[0] = *s;