summaryrefslogtreecommitdiff
path: root/src/times.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-06-17 14:03:07 -0700
committerJohn Wiegley <johnw@newartisans.com>2013-06-17 14:03:07 -0700
commit90a1e13a3f3cb371bbea9c5ff3ed41031892dfac (patch)
tree9bec008355d592494bd9bf4274e56b48f76cc68a /src/times.cc
parentfe810fa13f1e814e69dee2484c8b2878d5101d6c (diff)
parent4bcaa45f1663ca4ce3399ae412642624050c5060 (diff)
downloadfork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.tar.gz
fork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.tar.bz2
fork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.zip
Merge pull request #195 from code-affinity/msvc-11.0
Minor source code changes required to compile with Microsoft Visual C++ 11 (2012)
Diffstat (limited to 'src/times.cc')
-rw-r--r--src/times.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/times.cc b/src/times.cc
index f9a6c279..b1cb3494 100644
--- a/src/times.cc
+++ b/src/times.cc
@@ -33,6 +33,10 @@
#include "times.h"
+#ifdef WIN32
+#include "strptime.h"
+#endif
+
namespace ledger {
optional<datetime_t> epoch;