summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-07-09 12:07:30 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-07-09 12:07:30 +0000
commitc18a55f9ef9969b38e5cf7f0f319b8ec5df34809 (patch)
treebb12e8fa0681a648a85b2ab7bcf80ba0fb7978a9 /src
parent6abbb0043692688a80762608de25b3116e2f2a50 (diff)
downloadfork-ledger-c18a55f9ef9969b38e5cf7f0f319b8ec5df34809.tar.gz
fork-ledger-c18a55f9ef9969b38e5cf7f0f319b8ec5df34809.tar.bz2
fork-ledger-c18a55f9ef9969b38e5cf7f0f319b8ec5df34809.zip
Unbreak with boost 1.68
In file included from src/main.cc:34: In file included from src/global.h:41: In file included from src/option.h:45: In file included from src/scope.h:45: In file included from src/op.h:45: In file included from src/expr.h:45: In file included from src/exprbase.h:57: src/utils.h:47:10: fatal error: 'boost/uuid/sha1.hpp' file not found #include <boost/uuid/sha1.hpp> ^
Diffstat (limited to 'src')
-rw-r--r--src/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index b21dff7a..857b8289 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -44,7 +44,11 @@
#ifndef _UTILS_H
#define _UTILS_H
+#if (BOOST_VERSION >= 106600)
+#include <boost/uuid/detail/sha1.hpp>
+#else
#include <boost/uuid/sha1.hpp>
+#endif
/**
* @name Default values