removed unitialized used vartiable
[libfirm] / ir / be / becopyilp_t.h
index 8e9ebda..b9bc9f2 100644 (file)
 
 #include "firm_config.h"
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
 #include "irnode_t.h"
 #include "pset.h"
 #include "becopyopt_t.h"
+#include "xmalloc.h"
 
 /******************************************************************************
     _____ _                        _            _   _
@@ -108,6 +102,7 @@ static INLINE int co_ilp_get_costs(copy_opt_t *co, ir_node *root, ir_node *arg)
 
  *****************************************************************************/
 
+#ifdef WITH_ILP
 #include <lpp/lpp.h>
 
 #define LPP_SOLVE_NET
@@ -146,4 +141,6 @@ void free_ilp_env(ilp_env_t *ienv);
 #define name_cdd_sorted(buf, char1, int1, int2) \
                        name_cdd(buf, char1, MIN(int1, int2), MAX(int1, int2))
 
+#endif // WITH_ILP
+
 #endif