summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-10 00:01:40 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:57 -0400
commit1c7669671c46e463251589fad07aa470b27f80e8 (patch)
tree0a76ad83f7bbf5b24b5d2c971a2dea37b58ffae4 /datetime.cc
parenta874bc851eec27da958b643e7c0eb4c62f2cd109 (diff)
downloadfork-ledger-1c7669671c46e463251589fad07aa470b27f80e8.tar.gz
fork-ledger-1c7669671c46e463251589fad07aa470b27f80e8.tar.bz2
fork-ledger-1c7669671c46e463251589fad07aa470b27f80e8.zip
Changes to support building with gcc 2.95.
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/datetime.cc b/datetime.cc
index be4a3026..18e67501 100644
--- a/datetime.cc
+++ b/datetime.cc
@@ -1,3 +1,7 @@
+#if defined(__GNUG__) && __GNUG__ < 3
+#define _XOPEN_SOURCE
+#endif
+
#include "datetime.h"
#include "error.h"