diff options
author | Nathan Jones <nathanj@insightbb.com> | 2008-05-11 19:53:20 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-05-20 17:13:34 -0600 |
commit | 780135281dfdf3f8088f6e4279e84dc86eb94907 (patch) | |
tree | 9090ac6061c5031db83c216ab92d8ca827fc74f9 | |
parent | 627769ccc88ae15c92c5c2e5896bb1d96f52e385 (diff) | |
download | fork-ledger-780135281dfdf3f8088f6e4279e84dc86eb94907.tar.gz fork-ledger-780135281dfdf3f8088f6e4279e84dc86eb94907.tar.bz2 fork-ledger-780135281dfdf3f8088f6e4279e84dc86eb94907.zip |
Fix compile errors with gcc 4.3
-rw-r--r-- | amount.cc | 1 | ||||
-rw-r--r-- | datetime.cc | 1 | ||||
-rw-r--r-- | textual.cc | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,7 @@ #include <list> #include <sstream> #include <cstdlib> +#include <memory> #include <gmp.h> diff --git a/datetime.cc b/datetime.cc index 040c3046..d766e00c 100644 --- a/datetime.cc +++ b/datetime.cc @@ -7,6 +7,7 @@ #include <ctime> #include <cctype> +#include <climits> date_t date_t::now(std::time(NULL)); int date_t::current_year = date_t::now.year(); @@ -19,6 +19,7 @@ #include <cctype> #include <cstdio> #include <cstdlib> +#include <climits> #ifdef HAVE_REALPATH extern "C" char *realpath(const char *, char resolved_path[]); |