aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/is_prime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/is_prime.cpp')
-rw-r--r--src/cmd/is_prime.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/is_prime.cpp b/src/cmd/is_prime.cpp
index c3bf8970e..703772477 100644
--- a/src/cmd/is_prime.cpp
+++ b/src/cmd/is_prime.cpp
@@ -5,6 +5,9 @@
*/
#include "apps.h"
+
+#if defined(BOTAN_HAS_NUMBERTHEORY)
+
#include <botan/numthry.h>
namespace {
@@ -43,3 +46,5 @@ int is_prime(int argc, char* argv[])
REGISTER_APP(is_prime);
}
+
+#endif // BOTAN_HAS_NUMBERTHEORY