diff options
| -rw-r--r-- | zenhttp/zenhttp.cpp | 4 | ||||
| -rw-r--r-- | zenstore/zenstore.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/zenhttp/zenhttp.cpp b/zenhttp/zenhttp.cpp index 1adca30e8..d49b3818f 100644 --- a/zenhttp/zenhttp.cpp +++ b/zenhttp/zenhttp.cpp @@ -2,6 +2,8 @@ #include <zenhttp/zenhttp.h> +#if ZEN_WITH_TESTS + #include <zenhttp/httpclient.h> #include <zenhttp/httpserver.h> #include <zenhttp/httpshared.h> @@ -16,3 +18,5 @@ zenhttp_forcelinktests() } } // namespace zen + +#endif diff --git a/zenstore/zenstore.cpp b/zenstore/zenstore.cpp index d8e05a334..308743144 100644 --- a/zenstore/zenstore.cpp +++ b/zenstore/zenstore.cpp @@ -2,6 +2,8 @@ #include "zenstore/zenstore.h" +#if ZEN_WITH_TESTS + #include <zenstore/blockstore.h> #include <zenstore/gc.h> #include <zenstore/hashkeyset.h> @@ -26,3 +28,5 @@ zenstore_forcelinktests() } } // namespace zen + +#endif |