From: Kevin McCarthy Date: Mon, 8 Apr 2019 17:01:16 +0000 (-0700) Subject: Fix undeclared function warning for mutt_buffy(). X-Git-Tag: mutt-1-12-rel~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b51cbf27990fd8084eb61dad08a7cf4b193f478f;p=mutt Fix undeclared function warning for mutt_buffy(). Not sure why gcc didn't give me the warning, but add buffy.h to pager.c. status.c already includes mx.h (which includes buffy.h), but add it explicitly in any case. --- diff --git a/pager.c b/pager.c index 4d8f3161..66b74912 100644 --- a/pager.c +++ b/pager.c @@ -30,6 +30,7 @@ #include "attach.h" #include "mbyte.h" #include "sort.h" +#include "buffy.h" #ifdef USE_SIDEBAR #include "sidebar.h" #endif diff --git a/status.c b/status.c index ac59fdce..f7c8f1aa 100644 --- a/status.c +++ b/status.c @@ -26,6 +26,7 @@ #include "sort.h" #include "mapping.h" #include "mx.h" +#include "buffy.h" #include #include