aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/test_package_transform.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tests/test_package_transform.cpp b/src/tests/test_package_transform.cpp
index fb3ee3d00..6ad6c51c7 100644
--- a/src/tests/test_package_transform.cpp
+++ b/src/tests/test_package_transform.cpp
@@ -5,10 +5,15 @@
*/
#include "tests.h"
-#include <botan/package.h>
+
+#if defined(BOTAN_HAS_PACKAGE_TRANSFORM)
+ #include <botan/package.h>
+#endif
namespace Botan_Tests {
+#if defined(BOTAN_HAS_PACKAGE_TRANSFORM)
+
class Package_Transform_Tests : public Test
{
public:
@@ -52,5 +57,6 @@ class Package_Transform_Tests : public Test
BOTAN_REGISTER_TEST("package_transform", Package_Transform_Tests);
+#endif
}