# HG changeset patch # User Markus Bröker <mbroeker@largo.dyndns.tv> # Date 1239878838 -7200 # Node ID 54addf5893ef33aca4c674b33edc530af63a246a # Parent 81a574d60c1540e794a1a0c377d0421809f0ae45 cstdlib declares EXIT_SUCCESS and EXIT_FAILURE in c++ committer: Markus Bröker <mbroeker@largo.homelinux.org> diff --git a/bad_alloc.cc b/bad_alloc.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; diff --git a/copy.cc b/copy.cc --- a/copy.cc +++ b/copy.cc @@ -5,6 +5,7 @@ #include <iostream> #include <fstream> +#include <cstdlib> int main(int argc, char **argv) {