From: Michael Cho Date: Fri, 16 Aug 2024 02:49:17 +0000 (-0400) Subject: Fix build with boost 1.86.0 X-Git-Tag: rec-5.2.0-alpha1~142^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14562%2Fhead;p=thirdparty%2Fpdns.git Fix build with boost 1.86.0 Boost 1.86.0 changes seem to no longer indirectly include header which causes build to fail with: ``` uuid-utils.cc:38:58: error: 'random' is not a class, namespace, or enumeration ``` boost/random/mersenne_twister.hpp has been available since Boost 1.21.2 --- diff --git a/pdns/uuid-utils.cc b/pdns/uuid-utils.cc index c59e0a0d0d..301daff0bb 100644 --- a/pdns/uuid-utils.cc +++ b/pdns/uuid-utils.cc @@ -30,6 +30,7 @@ #endif /* BOOST_PENDING_INTEGER_LOG2_HPP */ #endif /* BOOST_VERSION */ +#include #include // The default of: