aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/stack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/stack.cpp')
-rw-r--r--doc/examples/stack.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/stack.cpp b/doc/examples/stack.cpp
index 389b12e7e..1522b05f5 100644
--- a/doc/examples/stack.cpp
+++ b/doc/examples/stack.cpp
@@ -20,6 +20,8 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
// this is a pretty vacuous example, but it's useful as a test
Botan::Pipe pipe;