X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mx.c;h=b596bcaebd5a6950c0aba908cf1827e366e85189;hp=4f831ca03b06a38d7c81506e2f2e77bac9d42c87;hb=3c3c535e5ed1d651c6024b5acf670e217af473f7;hpb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235 diff --git a/mx.c b/mx.c index 4f831ca..b596bca 100644 --- a/mx.c +++ b/mx.c @@ -18,12 +18,13 @@ #include #include +#include + #include "mutt.h" #include "buffy.h" #include "mx.h" #include "mbox.h" #include "mh.h" -#include "rfc2047.h" #include "sort.h" #include "thread.h" #include "copy.h" @@ -82,8 +83,6 @@ static list2_t* MailboxFormats = NULL; * retry - should retry if unable to lock? */ -#ifdef DL_STANDALONE - static int invoke_dotlock (const char *path, int dummy, int flags, int retry) { char cmd[LONG_STRING + _POSIX_PATH_MAX]; @@ -108,12 +107,6 @@ static int invoke_dotlock (const char *path, int dummy, int flags, int retry) return mutt_system (cmd); } -#else - -#define invoke_dotlock dotlock_invoke - -#endif - static int dotlock_file (const char *path, int fd, int retry) { int r;