Browse files

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

Remove it from mutt.h

--HG--
branch : HEAD
  • Loading branch information...
1 parent 915cfc1 commit bd77e369e03823d573557e639a54af8e3f149367 @bcully bcully committed Feb 3, 2005
Showing with 395 additions and 26 deletions.
  1. +4 −0 account.c
  2. +4 −0 addrbook.c
  3. +4 −0 alias.c
  4. +4 −0 ascii.c
  5. +4 −0 attach.c
  6. +4 −0 base64.c
  7. +4 −0 browser.c
  8. +4 −0 buffy.c
  9. +3 −0 charset.c
  10. +4 −0 color.c
  11. +4 −0 commands.c
  12. +4 −0 complete.c
  13. +4 −0 compose.c
  14. +4 −0 copy.c
  15. +3 −1 crypt-gpgme.c
  16. +4 −0 crypt-mod-pgp-classic.c
  17. +3 −1 crypt-mod-pgp-gpgme.c
  18. +4 −0 crypt-mod-smime-classic.c
  19. +3 −1 crypt-mod-smime-gpgme.c
  20. +4 −0 crypt-mod.c
  21. +3 −0 crypt.c
  22. +4 −0 cryptglue.c
  23. +4 −0 curs_lib.c
  24. +4 −0 curs_main.c
  25. +4 −0 date.c
  26. +4 −0 dotlock.c
  27. +4 −0 edit.c
  28. +4 −0 editmsg.c
  29. +4 −0 enter.c
  30. +4 −0 extlib.c
  31. +4 −0 filter.c
  32. +4 −0 flags.c
  33. +4 −0 from.c
  34. +4 −0 getdomain.c
  35. +4 −0 gnupgparse.c
  36. +4 −0 handler.c
  37. +4 −0 hash.c
  38. +4 −0 hdrline.c
  39. +4 −0 headers.c
  40. +4 −0 help.c
  41. +4 −0 history.c
  42. +4 −0 hook.c
  43. +1 −1 imap/auth.c
  44. +1 −1 imap/auth_anon.c
  45. +1 −1 imap/auth_cram.c
  46. +1 −1 imap/auth_gss.c
  47. +1 −1 imap/auth_login.c
  48. +1 −1 imap/auth_sasl.c
  49. +1 −1 imap/browse.c
  50. +1 −1 imap/command.c
  51. +1 −1 imap/imap.c
  52. +1 −1 imap/message.c
  53. +1 −1 imap/utf7.c
  54. +4 −0 init.c
  55. +4 −0 keymap.c
  56. +4 −0 lib.c
  57. +4 −0 main.c
  58. +3 −2 makedoc.c
  59. +4 −0 mbox.c
  60. +4 −0 mbyte.c
  61. +4 −0 md5c.c
  62. +4 −0 menu.c
  63. +4 −0 mh.c
  64. +0 −2 mutt.h
  65. +4 −1 mutt_idna.c
  66. +4 −0 mutt_sasl.c
  67. +4 −0 mutt_socket.c
  68. +3 −2 mutt_ssl.c
  69. +4 −0 mutt_ssl_gnutls.c
  70. +4 −0 mutt_ssl_nss.c
  71. +4 −0 mutt_tunnel.c
  72. +4 −0 muttlib.c
  73. +4 −0 mx.c
  74. +4 −0 pager.c
  75. +4 −0 parse.c
  76. +4 −0 pattern.c
  77. +4 −0 pgp.c
  78. +4 −0 pgpinvoke.c
  79. +4 −0 pgpkey.c
  80. +4 −0 pgplib.c
  81. +4 −0 pgpmicalg.c
  82. +4 −1 pgppacket.c
  83. +3 −2 pgppubring.c
  84. +4 −0 pop.c
  85. +4 −0 pop_auth.c
  86. +4 −0 pop_lib.c
  87. +4 −0 postpone.c
  88. +4 −0 query.c
  89. +4 −0 recvattach.c
  90. +4 −0 recvcmd.c
  91. +1 −1 regex.c
  92. +4 −0 remailer.c
  93. +4 −0 resize.c
  94. +4 −0 rfc1524.c
  95. +4 −0 rfc2047.c
  96. +4 −0 rfc2231.c
  97. +4 −0 rfc822.c
  98. +4 −0 score.c
  99. +4 −0 send.c
  100. +4 −0 sendlib.c
  101. +4 −0 sha1.c
  102. +4 −0 signal.c
  103. +4 −0 smime.c
  104. +3 −1 snprintf.c
  105. +4 −0 sort.c
  106. +4 −0 status.c
  107. +4 −0 system.c
  108. +4 −0 thread.c
  109. +4 −0 url.c
  110. +4 −0 utf8.c
  111. +4 −0 wcwidth.c
View
4 account.c
@@ -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"
View
4 addrbook.c
@@ -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"
View
4 alias.c
@@ -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"
View
4 ascii.c
@@ -26,6 +26,10 @@
* locale-insensitive.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include "ascii.h"
View
4 attach.c
@@ -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"
View
4 base64.c
@@ -39,6 +39,10 @@
*
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mime.h"
View
4 browser.c
@@ -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"
View
4 buffy.c
@@ -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"
View
3 charset.c
@@ -19,6 +19,9 @@
* Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <string.h>
#include <stdio.h>
View
4 color.c
@@ -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"
View
4 commands.c
@@ -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"
View
4 complete.c
@@ -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"
View
4 compose.c
@@ -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"
View
4 copy.c
@@ -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"
View
4 crypt-gpgme.c
@@ -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
View
4 crypt-mod-pgp-classic.c
@@ -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"
View
4 crypt-mod-pgp-gpgme.c
@@ -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
View
4 crypt-mod-smime-classic.c
@@ -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"
View
4 crypt-mod-smime-gpgme.c
@@ -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
View
4 crypt-mod.c
@@ -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. */
View
3 crypt.c
@@ -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"
View
4 cryptglue.c
@@ -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"
View
4 curs_lib.c
@@ -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"
View
4 curs_main.c
@@ -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"
View
4 date.c
@@ -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>
View
4 dotlock.c
@@ -24,6 +24,10 @@
* macro.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
4 edit.c
@@ -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"
View
4 editmsg.c
@@ -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"
View
4 enter.c
@@ -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"
View
4 extlib.c
@@ -27,6 +27,10 @@
#define WHERE
#define _EXTLIB_C
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include "lib.h"
View
4 filter.c
@@ -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>
View
4 flags.c
@@ -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"
View
4 from.c
@@ -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>
View
4 getdomain.c
@@ -1,3 +1,7 @@
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>
View
4 gnupgparse.c
@@ -30,6 +30,10 @@
*
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
4 handler.c
@@ -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>
View
4 hash.c
@@ -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>
View
4 hdrline.c
@@ -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"
View
4 headers.c
@@ -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"
View
4 help.c
@@ -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"
View
4 history.c
@@ -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"
View
4 hook.c
@@ -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"
View
2 imap/auth.c
@@ -20,7 +20,7 @@
/* IMAP login/authentication code */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/auth_anon.c
@@ -18,7 +18,7 @@
/* IMAP login/authentication code */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/auth_cram.c
@@ -18,7 +18,7 @@
/* IMAP login/authentication code */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/auth_gss.c
@@ -18,7 +18,7 @@
/* GSS login/authentication code */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/auth_login.c
@@ -18,7 +18,7 @@
/* plain LOGIN support */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/auth_sasl.c
@@ -18,7 +18,7 @@
/* SASL login/authentication code */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/browse.c
@@ -19,7 +19,7 @@
/* Mutt browser support routines */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/command.c
@@ -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
View
2 imap/imap.c
@@ -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
View
2 imap/message.c
@@ -19,7 +19,7 @@
/* message parsing/updating functions */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include "config.h"
#endif
View
2 imap/utf7.c
@@ -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
View
4 init.c
@@ -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"
View
4 keymap.c
@@ -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"
View
4 lib.c
@@ -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>
View
4 main.c
@@ -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"
View
5 makedoc.c
@@ -27,8 +27,9 @@
**
**/
-
-#include "config.h"
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
View
4 mbox.c
@@ -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"
View
4 mbyte.c
@@ -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"
View
4 md5c.c
@@ -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.
View
4 menu.c
@@ -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"
View
4 mh.c
@@ -22,6 +22,10 @@
* mailboxes.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mailbox.h"
#include "mx.h"
View
2 mutt.h
@@ -21,8 +21,6 @@
#ifndef MUTT_H
#define MUTT_H
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
View
5 mutt_idna.c
@@ -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"
View
4 mutt_sasl.c
@@ -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"
View
4 mutt_socket.c
@@ -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"
#include "globals.h"
#include "mutt_socket.h"
View
5 mutt_ssl.c
@@ -16,8 +16,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
-/* for SSL NO_* defines */
-#include "config.h"
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <openssl/ssl.h>
#include <openssl/x509.h>
View
4 mutt_ssl_gnutls.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
View
4 mutt_ssl_nss.c
@@ -15,6 +15,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <prinit.h>
#include <pk11func.h>
#include <prtypes.h>
View
4 mutt_tunnel.c
@@ -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_socket.h"
#include "mutt_tunnel.h"
View
4 muttlib.c
@@ -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 "mime.h"
View
4 mx.c
@@ -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 "mx.h"
#include "rfc2047.h"
View
4 pager.c
@@ -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_regex.h"
View
4 parse.c
@@ -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 "mailbox.h"
View
4 pattern.c
@@ -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 "keymap.h"
View
4 pgp.c
@@ -26,6 +26,10 @@
* a message.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_curses.h"
#include "pgp.h"
View
4 pgpinvoke.c
@@ -23,6 +23,10 @@
* is almost entirely format based.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
View
4 pgpkey.c
@@ -20,6 +20,10 @@
* Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
View
4 pgplib.c
@@ -21,6 +21,10 @@
/* Generally useful, pgp-related functions. */
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
4 pgpmicalg.c
@@ -21,6 +21,10 @@
* algorithm.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "pgp.h"
#include "pgppacket.h"
View
5 pgppacket.c
@@ -17,7 +17,10 @@
* MA 02111, USA.
*/
-#include "config.h"
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
5 pgppubring.c
@@ -34,8 +34,9 @@
*
*/
-
-#include "config.h"
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
View
4 pop.c
@@ -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 "mx.h"
#include "pop.h"
View
4 pop_auth.c
@@ -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 "mx.h"
#include "md5.h"
View
4 pop_lib.c
@@ -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 "mx.h"
#include "url.h"
View
4 postpone.c
@@ -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 "rfc1524.h"
View
4 query.c
@@ -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_idna.h"
View
4 recvattach.c
@@ -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"
View
4 recvcmd.c
@@ -19,6 +19,10 @@
* Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
View
2 regex.c
@@ -50,7 +50,7 @@
#undef _GNU_SOURCE
#define _GNU_SOURCE
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include <config.h>
#endif
View
4 remailer.c
@@ -23,6 +23,10 @@
* Mixmaster support for Mutt
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
View
4 resize.c
@@ -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"
View
4 rfc1524.c
@@ -26,6 +26,10 @@
* rfc1524.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "rfc1524.h"
View
4 rfc2047.c
@@ -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 "mime.h"
#include "charset.h"
View
4 rfc2231.c
@@ -29,6 +29,10 @@
*
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mime.h"
#include "charset.h"
View
4 rfc822.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
View
4 score.c
@@ -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 "sort.h"
#include <string.h>
View
4 send.c
@@ -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 "rfc2047.h"
View
4 sendlib.c
@@ -18,6 +18,10 @@
#define _SENDLIB_C 1
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_curses.h"
#include "rfc2047.h"
View
4 sha1.c
@@ -17,6 +17,10 @@
#define SHA1HANDSOFF
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <string.h>
#include "sha1.h"
View
4 signal.c
@@ -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"
View
4 smime.c
@@ -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"
#include "mutt_curses.h"
#include "mutt_menu.h"
View
4 snprintf.c
@@ -40,7 +40,9 @@
*
**************************************************************/
-#include "config.h"
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
View
4 sort.c
@@ -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 "sort.h"
#include "mutt_idna.h"
View
4 status.c
@@ -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"
View
4 system.c
@@ -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 "imap.h"
View
4 thread.c
@@ -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 "sort.h"
View
4 url.c
@@ -20,6 +20,10 @@
* A simple URL parser.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mapping.h"
#include "url.h"
View
4 utf8.c
@@ -1,3 +1,7 @@
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#ifndef HAVE_WC_FUNCS
#include <errno.h>
View
4 wcwidth.c
@@ -9,6 +9,10 @@
/* Adapted for Mutt by Edmund Grimley Evans.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#ifndef HAVE_WC_FUNCS
#include "mutt.h"

0 comments on commit bd77e36

Please sign in to comment.