cstdlib declares EXIT_SUCCESS and EXIT_FAILURE in c++
authorMarkus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:47:18 +0200
changeset 28 54addf5893ef
parent 27 81a574d60c15
child 29 7abf6146898e
cstdlib declares EXIT_SUCCESS and EXIT_FAILURE in c++ committer: Markus Bröker <mbroeker@largo.homelinux.org>
bad_alloc.cc
copy.cc
--- a/bad_alloc.cc
+++ b/bad_alloc.cc
@@ -8,6 +8,7 @@
 #include <exception>
 #include <sys/time.h>
 #include <sys/resource.h>
+#include <cstdlib>
 
 using namespace std;
 
--- a/copy.cc
+++ b/copy.cc
@@ -5,6 +5,7 @@
 
 #include <iostream>
 #include <fstream>
+#include <cstdlib>
 
 int main(int argc, char **argv)
 {