aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-31 13:58:28 -0500
committerJack Lloyd <[email protected]>2016-12-31 13:58:28 -0500
commita227e7ebee73f6f78575f2a5bf32379d4c969c6d (patch)
treefe7d973251402950b787e124c51356969e83a5d9 /src/tests
parent99491a1b7b2dd385b24a474523eb87e1281b78bd (diff)
Fix for minimized build
Diffstat (limited to 'src/tests')
-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
}