summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
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 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();