diff options
author | lloyd <[email protected]> | 2014-02-09 16:52:51 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-02-09 16:52:51 +0000 |
commit | 4f3b0ce8fccd879791d5a701102ee0737f3509b1 (patch) | |
tree | 37ab6f550154de465d2677fdab1cc1d96904fa5c /src/cmd | |
parent | 253aa701ffa654af3c880e1e1b4965fabf86be3b (diff) |
More fixes for minified builds
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/main.cpp b/src/cmd/main.cpp index 6e4cb6702..37db57f68 100644 --- a/src/cmd/main.cpp +++ b/src/cmd/main.cpp @@ -22,7 +22,10 @@ #include <botan/version.h> #include <botan/auto_rng.h> #include <botan/cpuid.h> + +#if defined(BOTAN_HAS_HTTP_UTIL) #include <botan/http_util.h> +#endif using namespace Botan; @@ -96,11 +99,13 @@ int main(int argc, char* argv[]) return 0; } +#if defined(BOTAN_HAS_HTTP_UTIL) if(cmd == "http_get") { auto resp = HTTP::GET_sync(argv[2]); std::cout << resp << "\n"; } +#endif #define CALL_APP(cmdsym) \ do { if(cmd == #cmdsym) { return cmdsym ##_main (argc - 1, argv + 1); } } while(0) |