summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-04 23:53:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-04 23:53:43 -0400
commitc11d32571246e51f401deee88f4ebd752b467fdc (patch)
treeccfe6c759d1f2f46a501495eeedecc8c679865d7 /src/utils.cc
parent9a47298d811496816903515bdba7652e275cc32a (diff)
downloadfork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.gz
fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.bz2
fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.zip
Reduced the #include dependency tree to a minimum
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 0e208b45..14f89d84 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -29,7 +29,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "utils.h"
+#include "times.h"
/**********************************************************************
*
@@ -656,6 +656,8 @@ void sigpipe_handler(int)
namespace ledger {
+const string version = PACKAGE_VERSION;
+
path expand_path(const path& pathname)
{
if (pathname.empty())