diff options
author | Nathan Jones <nathanj@insightbb.com> | 2008-05-22 20:37:50 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-05-23 01:29:12 -0600 |
commit | 885355f367f690614bb133dc59e74c1d34c15ab2 (patch) | |
tree | c21149881cc5000c63bfabc58e77c32e1b477410 /datetime.cc | |
parent | 780135281dfdf3f8088f6e4279e84dc86eb94907 (diff) | |
download | fork-ledger-885355f367f690614bb133dc59e74c1d34c15ab2.tar.gz fork-ledger-885355f367f690614bb133dc59e74c1d34c15ab2.tar.bz2 fork-ledger-885355f367f690614bb133dc59e74c1d34c15ab2.zip |
Fix compile errors with gcc 4.3
Diffstat (limited to 'datetime.cc')
-rw-r--r-- | datetime.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/datetime.cc b/datetime.cc index d766e00c..0a5f5440 100644 --- a/datetime.cc +++ b/datetime.cc @@ -8,6 +8,7 @@ #include <ctime> #include <cctype> #include <climits> +#include <cstdlib> date_t date_t::now(std::time(NULL)); int date_t::current_year = date_t::now.year(); |