aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/make_prime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/make_prime.cpp')
-rw-r--r--doc/examples/make_prime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/make_prime.cpp b/doc/examples/make_prime.cpp
index 4135bd197..eaff1867f 100644
--- a/doc/examples/make_prime.cpp
+++ b/doc/examples/make_prime.cpp
@@ -1,5 +1,6 @@
#include <botan/numthry.h>
#include <botan/auto_rng.h>
+#include <botan/botan.h>
using namespace Botan;
@@ -10,6 +11,7 @@ using namespace Botan;
int main()
{
+ Botan::LibraryInitializer init;
AutoSeeded_RNG rng;
std::set<BigInt> primes;