--- mh.c 2012-07-29 16:16:46.076000048 +0200 +++ mh.c 2012-07-29 16:17:32.579999940 +0200 @@ -54,6 +54,10 @@ #include #endif +#ifdef USE_NOTMUCH +#include "mutt_notmuch.h" +#endif + #define INS_SORT_THRESHOLD 6 struct maildir