From cbc41ca47a9b23a7b3acfb1a8d6c325280ce9aef Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 24 Jan 2009 04:50:18 -0400 Subject: [PATCH] Moved sha1 and gdtoa inclusions into system.hh. --- src/amount.cc | 3 --- src/filters.cc | 1 - src/system.hh | 4 ++++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/amount.cc b/src/amount.cc index 6e0af790..591b0901 100644 --- a/src/amount.cc +++ b/src/amount.cc @@ -43,9 +43,6 @@ #include "amount.h" #include "binary.h" -#ifdef HAVE_GDTOA -#include "gdtoa.h" -#endif namespace ledger { diff --git a/src/filters.cc b/src/filters.cc index cf8e5019..a1ac52c4 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -35,7 +35,6 @@ #include "session.h" #include "format.h" #include "textual.h" -#include "SHA1.h" namespace ledger { diff --git a/src/system.hh b/src/system.hh index b44678d6..1096271b 100644 --- a/src/system.hh +++ b/src/system.hh @@ -121,6 +121,10 @@ typedef std::ostream::pos_type ostream_pos_type; #endif #include +#ifdef HAVE_GDTOA +#include "gdtoa.h" +#endif +#include "SHA1.h" #include "irrXML.h" // XML parser #include "CXMLReaderImpl.h"