summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
authorNathan Jones <nathanj@insightbb.com>2008-05-11 19:53:20 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-05-20 17:13:34 -0600
commit780135281dfdf3f8088f6e4279e84dc86eb94907 (patch)
tree9090ac6061c5031db83c216ab92d8ca827fc74f9 /datetime.cc
parent627769ccc88ae15c92c5c2e5896bb1d96f52e385 (diff)
downloadfork-ledger-780135281dfdf3f8088f6e4279e84dc86eb94907.tar.gz
fork-ledger-780135281dfdf3f8088f6e4279e84dc86eb94907.tar.bz2
fork-ledger-780135281dfdf3f8088f6e4279e84dc86eb94907.zip
Fix compile errors with gcc 4.3
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc1
1 files changed, 1 insertions, 0 deletions
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();