Use headers defined in the C[++] standards:
[fw/sdcc] / sim / ucsim / z80.src / inst.cc
index c1eaacd296c57ee52601a4ec9030315da255a57e..69be604f84efd359a724704005cd12bec74bad89 100644 (file)
@@ -29,6 +29,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 #include "ddconfig.h"
 
+#include <stdlib.h>
+
 // local
 #include "z80cl.h"
 #include "regsz80.h"