stage3/constant_folding.cc
changeset 565 8acbddf75333
parent 564 dabffc3086dc
child 566 5688fa07f89a
--- a/stage3/constant_folding.cc	Tue Jun 05 19:17:29 2012 +0200
+++ b/stage3/constant_folding.cc	Wed Jun 06 12:39:32 2012 +0100
@@ -44,6 +44,7 @@
 #include <typeinfo>
 #include <limits>
 #include <math.h> /* required for pow function */
+#include <stdlib.h> /* required for malloc() */
 
 #define FIRST_(symbol1, symbol2) (((symbol1)->first_order < (symbol2)->first_order)   ? (symbol1) : (symbol2))
 #define  LAST_(symbol1, symbol2) (((symbol1)->last_order  > (symbol2)->last_order)    ? (symbol1) : (symbol2))