aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libibex/ChangeLog3
-rw-r--r--libibex/ibex_block.c8
2 files changed, 10 insertions, 1 deletions
diff --git a/libibex/ChangeLog b/libibex/ChangeLog
index c44eec4601..2f5a1e27af 100644
--- a/libibex/ChangeLog
+++ b/libibex/ChangeLog
@@ -1,6 +1,7 @@
2001-09-20 <NotZed@Ximian.com>
- * ibex_block.c: Turn off the o(x) debug set.
+ * ibex_block.c: Turn off the o(x) debug set, & include alloca.h &
+ config.h.
2001-09-17 <NotZed@Ximian.com>
diff --git a/libibex/ibex_block.c b/libibex/ibex_block.c
index 44d2a4ba15..112ae140e2 100644
--- a/libibex/ibex_block.c
+++ b/libibex/ibex_block.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib.h>
#include <stdio.h>
@@ -7,6 +11,10 @@
#include <string.h>
#include <errno.h>
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+
#include "ibex_internal.h"
#define d(x)