Here's a patch that'll work with 0.9.8.7-1:

--- compiler/draw/schema/topSchema.cpp~ 2007-04-14 19:08:17.000000000 +0000
+++ compiler/draw/schema/topSchema.cpp  2007-04-14 19:08:26.000000000 +0000
@@ -20,6 +20,7 @@
  ************************************************************************/
 
 #include "topSchema.h"
+#include <cstdlib>
 #include <iostream>
 #include <assert.h>
 
--- compiler/generator/enrobage.cpp~    2007-04-14 19:02:42.000000000 +0000
+++ compiler/generator/enrobage.cpp     2007-04-14 19:03:04.000000000 +0000
@@ -22,6 +22,8 @@
  
  
 #include "enrobage.hh"
+#include <cstdlib>
+#include <climits>
 #include <string>
 #include "compatibility.hh"
 
--- compiler/tlib/compatibility.cpp~    2007-04-14 19:04:13.000000000 +0000
+++ compiler/tlib/compatibility.cpp     2007-04-14 19:04:15.000000000 +0000
@@ -20,4 +20,4 @@
  ************************************************************************/
  
 
-int isatty(int file) {return 0;}
\ No newline at end of file
+int isatty(int file) {return 0;}
--- compiler/tlib/list.cpp~     2007-04-14 19:06:38.000000000 +0000
+++ compiler/tlib/list.cpp      2007-04-14 19:06:50.000000000 +0000
@@ -104,6 +104,7 @@
 
 #include "list.hh"
 #include "compatibility.hh"
+#include <cstdlib>
 #include <map>
 
 // predefined symbols CONS and NIL
--- compiler/tlib/tree.cpp~     2007-04-14 19:07:09.000000000 +0000
+++ compiler/tlib/tree.cpp      2007-04-14 19:07:20.000000000 +0000
@@ -76,6 +76,7 @@
 *****************************************************************************/
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <limits.h>
 #include "tree.hh"
 #include <fstream>

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to