Commit f6dcd957 authored by Brendan Cully's avatar Brendan Cully

Add config.h to the top of every C file that could possibly want it.

Remove it from mutt.h
parent e99da5bb
......@@ -18,6 +18,10 @@
/* remote host account manipulation (POP/IMAP) */
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "account.h"
#include "url.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_menu.h"
#include "mapping.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_regex.h"
#include "mutt_curses.h"
......
......@@ -26,6 +26,10 @@
* locale-insensitive.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include "ascii.h"
......
......@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_menu.h"
#include "mutt_curses.h"
......
......@@ -39,6 +39,10 @@
*
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mime.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "buffy.h"
#include "mailbox.h"
......
......@@ -19,6 +19,9 @@
* Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include <stdio.h>
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "mapping.h"
......
......@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#ifdef USE_IMAP
#include "mailbox.h"
......
......@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mailbox.h"
#include "mx.h"
......
......@@ -20,7 +20,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#include <config.h>
#if HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef CRYPT_BACKEND_GPGME
......
......@@ -20,6 +20,10 @@
This is a crytpo module wrapping the classic pgp code.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "crypt-mod.h"
#include "pgp.h"
......
......@@ -20,7 +20,9 @@
This is a crytpo module wrapping the gpgme based pgp code.
*/
#include <config.h>
#if HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef CRYPT_BACKEND_GPGME
......
......@@ -20,6 +20,10 @@
This is a crytpo module wrapping the classic smime code.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "crypt-mod.h"
#include "smime.h"
......
......@@ -20,7 +20,9 @@
This is a crytpo module wrapping the gpgme based smime code.
*/
#include <config.h>
#if HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef CRYPT_BACKEND_GPGME
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "crypt-mod.h"
/* A type an a variable to keep track of registered crypto modules. */
......
......@@ -21,6 +21,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
......
......@@ -28,6 +28,10 @@
contained in this file and the functions implemented by the crypto
modules. */
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_crypt.h"
......
......@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_menu.h"
#include "mutt_curses.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include <string.h>
......
......@@ -24,6 +24,10 @@
* macro.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -18,6 +18,10 @@
/* Close approximation of the mailx(1) builtin editor for sending mail. */
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
......
......@@ -21,6 +21,10 @@
/* simple, editor-based message editing */
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "copy.h"
#include "mailbox.h"
......
......@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_menu.h"
#include "mutt_curses.h"
......
......@@ -27,6 +27,10 @@
#define WHERE
#define _EXTLIB_C
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include "lib.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include <unistd.h>
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "sort.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include <ctype.h>
......
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <ctype.h>
#include <string.h>
......
......@@ -30,6 +30,10 @@
*
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "sort.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
......
......@@ -18,6 +18,10 @@
#define HELP_C
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "keymap.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "history.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mailbox.h"
#include "mutt_crypt.h"
......
......@@ -20,7 +20,7 @@
/* IMAP login/authentication code */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -18,7 +18,7 @@
/* IMAP login/authentication code */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -18,7 +18,7 @@
/* IMAP login/authentication code */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -18,7 +18,7 @@
/* GSS login/authentication code */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -18,7 +18,7 @@
/* plain LOGIN support */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -18,7 +18,7 @@
/* SASL login/authentication code */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -19,7 +19,7 @@
/* Mutt browser support routines */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -21,7 +21,7 @@
/* command.c: routines for sending commands to an IMAP server and parsing
* responses */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -20,7 +20,7 @@
/* Support for IMAP4rev1, with the occasional nod to IMAP 4. */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -19,7 +19,7 @@
/* message parsing/updating functions */
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#ifdef HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mapping.h"
#include "mutt_curses.h"
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_menu.h"
#include "mutt_curses.h"
......
......@@ -26,6 +26,10 @@
* some of our "standard" functions in external programs, too.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include <ctype.h>
#include <unistd.h>
......
......@@ -20,6 +20,10 @@
#define MAIN_C 1
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "keymap.h"
......
......@@ -27,8 +27,9 @@
**
**/
#include "config.h"
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
......
......@@ -18,6 +18,10 @@
/* This file contains code to parse ``mbox'' and ``mmdf'' style mailboxes */
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mailbox.h"
#include "mx.h"
......
......@@ -20,6 +20,10 @@
* Japanese support by TAKIZAWA Takashi <taki@luna.email.ne.jp>.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mbyte.h"
#include "charset.h"
......
......@@ -23,6 +23,10 @@ These notices must be retained in any copies of any part of this
documentation and/or software.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "md5.h"
/* Constants for MD5Transform routine.
......
......@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
......
......@@ -22,6 +22,10 @@
* mailboxes.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "mailbox.h"
#include "mx.h"
......
......@@ -21,8 +21,6 @@
#ifndef MUTT_H
#define MUTT_H
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
......
......@@ -16,7 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#include "config.h"
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "charset.h"
#include "mutt_idna.h"
......
......@@ -18,6 +18,10 @@
/* common SASL helper routines */
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"
#include "account.h"
#include "mutt_sasl.h"
......
......@@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "mutt.h"