more config.h stuff added
[libfirm] / ir / ir / irarch.c
index 2afd717..82b10b6 100644 (file)
@@ -6,7 +6,14 @@
  *
  * $Id$
  */
-#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
 #include <assert.h>
 
 #include "irnode_t.h"