some workaround to avoid condeval creating Phibs which not all backends like
[libfirm] / ir / ident / ident.c
index 49abd69..668d797 100644 (file)
 #include <stddef.h>
 #include <stdlib.h>
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
 #ifdef FIRM_ENABLE_WCHAR
 #include <wchar.h>
 #endif
 
 #include "ident_t.h"
 #include "set.h"
+#include "xmalloc.h"
 
 /* for debugging only, not the real implementation */
-struct ident {
+struct _ident {
   char reserved[sizeof(unsigned) + sizeof(size_t)];
   char data[1];
 };