summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-09-12 09:41:54 +0200
committerLudovic Courtès <ludo@gnu.org>2008-09-12 09:41:54 +0200
commit3c2a5013de34811da09727a7af56014bec29cbc3 (patch)
treea49ba40a6eef6cb617768d1aa0c751de933a7052
parent85ca88c68ba4333fb2b771453ce9fd8c6c87028d (diff)
downloadguile-3c2a5013de34811da09727a7af56014bec29cbc3.tar.gz
Include <config.h> in `discouraged.c'.
* libguile/discouraged.c: Include <config.h> first so that files that rely on `config.h' macros (such as Gnulib-provided headers) work as expected.
-rw-r--r--libguile/discouraged.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libguile/discouraged.c b/libguile/discouraged.c
index 07663e0fe..3ffbed194 100644
--- a/libguile/discouraged.c
+++ b/libguile/discouraged.c
@@ -2,7 +2,7 @@
discourage something, move it here when that is feasible.
*/
-/* Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004, 2006, 2008 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -19,7 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libguile.h"
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include <libguile.h>
+
#if (SCM_ENABLE_DISCOURAGED == 1)