summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypthash.h2
-rw-r--r--imap/util.c2
-rw-r--r--lib.h2
-rw-r--r--mbyte.h2
-rw-r--r--mutt_idna.h1
-rwxr-xr-xpatchlist.sh4
-rw-r--r--remailer.h2
-rw-r--r--rfc822.h2
8 files changed, 5 insertions, 12 deletions
diff --git a/crypthash.h b/crypthash.h
index a2545b8e..d8e3a572 100644
--- a/crypthash.h
+++ b/crypthash.h
@@ -1,8 +1,6 @@
#ifndef _CRYPTHASH_H
# define _CRYPTHASH_H
-# include "config.h"
-
# include <sys/types.h>
# if HAVE_INTTYPES_H
diff --git a/imap/util.c b/imap/util.c
index 6f435593..96c8caf8 100644
--- a/imap/util.c
+++ b/imap/util.c
@@ -20,6 +20,8 @@
/* general IMAP utility functions */
+#include "config.h"
+
#include "mutt.h"
#include "mx.h" /* for M_IMAP */
#include "url.h"
diff --git a/lib.h b/lib.h
index 358fa723..f5fb94e9 100644
--- a/lib.h
+++ b/lib.h
@@ -25,8 +25,6 @@
#ifndef _LIB_H
# define _LIB_H
-# include "config.h"
-
# include <stdio.h>
# include <string.h>
# ifdef HAVE_UNISTD_H
diff --git a/mbyte.h b/mbyte.h
index 797a2da7..dc5ed999 100644
--- a/mbyte.h
+++ b/mbyte.h
@@ -1,8 +1,6 @@
#ifndef _MBYTE_H
# define _MBYTE_H
-# include "config.h"
-
# ifdef HAVE_WC_FUNCS
# ifdef HAVE_WCHAR_H
# include <wchar.h>
diff --git a/mutt_idna.h b/mutt_idna.h
index 0e2534a8..4b485162 100644
--- a/mutt_idna.h
+++ b/mutt_idna.h
@@ -19,7 +19,6 @@
#ifndef _MUTT_IDNA_H
# define _MUTT_IDNA_H
-#include "config.h"
#include "rfc822.h"
#include "charset.h"
diff --git a/patchlist.sh b/patchlist.sh
index 9cefc141..1f1f185c 100755
--- a/patchlist.sh
+++ b/patchlist.sh
@@ -1,7 +1,9 @@
#!/bin/sh --
cat <<EOF
-/* this is an autogenerated file. do not edit. */
+/* this is an autogenerated file. edit patchlist.sh instead. */
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/remailer.h b/remailer.h
index 0ff0e973..c7469170 100644
--- a/remailer.h
+++ b/remailer.h
@@ -23,8 +23,6 @@
* Mixmaster support for Mutt
*/
-#include "config.h"
-
#ifdef MIXMASTER
#define MIX_CAP_COMPRESS (1 << 0)
diff --git a/rfc822.h b/rfc822.h
index 1e703e35..d141ba89 100644
--- a/rfc822.h
+++ b/rfc822.h
@@ -19,8 +19,6 @@
#ifndef rfc822_h
#define rfc822_h
-#include "config.h"
-
/* possible values for RFC822Error */
enum
{