summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/init.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libguile/init.c b/libguile/init.c
index 92568c0e3..9c64d7944 100644
--- a/libguile/init.c
+++ b/libguile/init.c
@@ -44,6 +44,10 @@
/* Include the headers for just about everything.
We call all their initialization functions. */
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -551,7 +555,7 @@ scm_init_guile_1 (SCM_STACKITEM *base)
scm_init_debug (); /* Requires macro smobs */
#endif
scm_init_random ();
-#ifdef HAVE_ARRAYS
+#ifdef SCM_HAVE_ARRAYS
scm_init_ramap ();
scm_init_unif ();
#endif