Skip to content

Commit

Permalink
Fix build with boost 1.86.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cho-m committed Aug 16, 2024
1 parent b69f97c commit eed5600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdns/uuid-utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#endif /* BOOST_PENDING_INTEGER_LOG2_HPP */
#endif /* BOOST_VERSION */

#include <boost/random/mersenne_twister.hpp>
#include <boost/uuid/uuid_generators.hpp>

// The default of:
Expand Down

0 comments on commit eed5600

Please sign in to comment.