Make fehler159 compilable.
[libfirm] / ir / adt / set.c
index 8ddd09a..6411e38 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -47,6 +47,8 @@
 # include "config.h"
 #endif
 
+#include "firm_config.h"
+
 #ifdef PSET
 # define SET pset
 # define PMANGLE(pre) pre##_pset
@@ -186,7 +188,7 @@ SET *
 (PMANGLE(new)) (MANGLEP(cmp_fun) cmp, int nslots)
 {
   int i;
-  SET *table = xmalloc(sizeof(*table));
+  SET *table = XMALLOC(SET);
 
   if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE)
     nslots = DIRECTORY_SIZE;