- add doxygen comments to all functions
[libfirm] / include / libfirm / adt / xmalloc.h
index 6e0283c..d9d8d75 100644 (file)
@@ -91,11 +91,10 @@ char *xstrdup(const char *str);
 
 
 /* Includes for alloca() */
-#if defined(__FreeBSD__)
-#include <stdlib.h>
-#elif defined(_WIN32)
+#ifdef _WIN32
 #include <malloc.h>
-#else
+#endif
+#ifdef HAVE_ALLOCA_H
 #include <alloca.h>
 #endif