BugFix: get_next_neighbour(): free the nodeset allocated in the iterator when next...
[libfirm] / ir / be / beraextern.c
index c539875..8ba6c24 100644 (file)
@@ -58,13 +58,6 @@ alloc                ::= node-nr reg-nr .
 #include "config.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
- #include <malloc.h>
-#endif
-#ifdef HAVE_ALLOCA_H
- #include <alloca.h>
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
@@ -76,6 +69,7 @@ alloc         ::= node-nr reg-nr .
 #include "pmap.h"
 #include "bitset.h"
 #include "raw_bitset.h"
+#include "xmalloc.h"
 
 #include "irprintf_t.h"
 #include "irnode_t.h"
@@ -88,7 +82,7 @@ alloc         ::= node-nr reg-nr .
 #include "bemodule.h"
 #include "beraextern.h"
 #include "beabi.h"
-#include "bearch.h"
+#include "bearch_t.h"
 #include "benode_t.h"
 #include "beirgmod.h"
 #include "besched_t.h"