summaryrefslogtreecommitdiff
path: root/src/format.h
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-14 12:37:58 +0000
committerMartin Michlmayr <tbm@cyrius.com>2021-06-14 22:04:57 +0800
commit69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f (patch)
treeb4f034f7057bfa40f56028a0c28601bab883afff /src/format.h
parent5d033adce84319bd3d10217ccf3e20c7c0734c7a (diff)
downloadfork-ledger-69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f.tar.gz
fork-ledger-69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f.tar.bz2
fork-ledger-69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f.zip
Fix compilation with Boost 1.76
We were previously relying on an indirect include within Boost headers. We're using scoped_ptr which is defined in <boost/smart_ptr/scoped_ptr.hpp>. Bug: https://bugs.gentoo.org/790176 Closes: https://github.com/ledger/ledger/issues/2030
Diffstat (limited to 'src/format.h')
-rw-r--r--src/format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format.h b/src/format.h
index 15431cf1..48c690be 100644
--- a/src/format.h
+++ b/src/format.h
@@ -45,6 +45,8 @@
#include "expr.h"
#include "unistring.h"
+#include <boost/smart_ptr/scoped_ptr.hpp>
+
namespace ledger {
class unistring;