Commit a551d489 a551d489683e8b3a2849580f1672825a611927c9 by Sergey Poznyakoff

Fix double-inclusion of config.h in some sources

* lib/muscript.h: Don't include config.h: the caller is responsible
for that.
* lib/guile.c: Include config.h
* lib/python.c: Likewise.
* lib/script.c: Likewise.
* lib/sieve.c: Likewise.
1 parent 5d5dedd0
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */ 16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */
17 17
18 #if defined(HAVE_CONFIG_H)
19 # include <config.h>
20 #endif
18 #include "muscript.h" 21 #include "muscript.h"
19 #include "muscript_priv.h" 22 #include "muscript_priv.h"
20 #include <mailutils/guile.h> 23 #include <mailutils/guile.h>
......
...@@ -15,9 +15,6 @@ ...@@ -15,9 +15,6 @@
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */ 16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */
17 17
18 #if defined(HAVE_CONFIG_H)
19 # include <config.h>
20 #endif
21 #include <mailutils/sieve.h> 18 #include <mailutils/sieve.h>
22 #include <mailutils/diag.h> 19 #include <mailutils/diag.h>
23 #include <mailutils/errno.h> 20 #include <mailutils/errno.h>
......
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
14 You should have received a copy of the GNU General Public License 14 You should have received a copy of the GNU General Public License
15 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */ 15 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */
16 16
17 #if defined(HAVE_CONFIG_H)
18 # include <config.h>
19 #endif
17 #include "muscript.h" 20 #include "muscript.h"
18 #include "muscript_priv.h" 21 #include "muscript_priv.h"
19 #include <mailutils/python.h> 22 #include <mailutils/python.h>
......
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */ 16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */
17 17
18 #if defined(HAVE_CONFIG_H)
19 # include <config.h>
20 #endif
18 #include "muscript.h" 21 #include "muscript.h"
19 #include "muscript_priv.h" 22 #include "muscript_priv.h"
20 23
......
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */ 16 along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. */
17 17
18 #if defined(HAVE_CONFIG_H)
19 # include <config.h>
20 #endif
18 #include "muscript.h" 21 #include "muscript.h"
19 #include "muscript_priv.h" 22 #include "muscript_priv.h"
20 23
......