added configure stuff
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 4 Oct 2005 15:50:45 +0000 (15:50 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 4 Oct 2005 15:50:45 +0000 (15:50 +0000)
[r6654]

ir/ir/iredges.c

index 6788f8b..2619a14 100644 (file)
@@ -4,12 +4,17 @@
  * @date 14.1.2005
  */
 
-#include <alloca.h>
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
+
 #include "irnode_t.h"
 #include "iredges_t.h"
 #include "irdump_t.h"