The attached patch suppresses a compiler warning in org-gnus.el * lisp/org-gnus.el: Suppress compiler warning by declaring outside function nnimap-retrieve-headers-from-file.