diff options
author | lloyd <[email protected]> | 2008-11-08 19:42:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 19:42:16 +0000 |
commit | 8dba7b5264403e781bbb86ff61850e4377dca7b9 (patch) | |
tree | 5e784f8e4bbf0ed423e850600adaef3eda4cd07d /src/codec | |
parent | 8f86d41613db588e4912fd23a61f7c6b3947e32a (diff) |
Split base.h into block_cipher.h and stream_cipher.h
It turned out many files were including base.h merely to get other
includes (like types.h, secmem.h, and exceptn.h). Those have been changed
to directly include the files containing the declarations that code needs.
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/base64/base64.cpp | 1 | ||||
-rw-r--r-- | src/codec/bzip2/bzip2.cpp | 2 | ||||
-rw-r--r-- | src/codec/hex/hex.cpp | 1 | ||||
-rw-r--r-- | src/codec/zlib/zlib.cpp | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/codec/base64/base64.cpp b/src/codec/base64/base64.cpp index 0e01d94f3..b1a802376 100644 --- a/src/codec/base64/base64.cpp +++ b/src/codec/base64/base64.cpp @@ -5,6 +5,7 @@ #include <botan/base64.h> #include <botan/charset.h> +#include <botan/exceptn.h> #include <algorithm> namespace Botan { diff --git a/src/codec/bzip2/bzip2.cpp b/src/codec/bzip2/bzip2.cpp index 712dacd7d..18b3c51f0 100644 --- a/src/codec/bzip2/bzip2.cpp +++ b/src/codec/bzip2/bzip2.cpp @@ -6,6 +6,8 @@ *************************************************/ #include <botan/bzip2.h> +#include <botan/exceptn.h> + #include <map> #include <cstring> #define BZ_NO_STDIO diff --git a/src/codec/hex/hex.cpp b/src/codec/hex/hex.cpp index afb082f76..4cbc1d37b 100644 --- a/src/codec/hex/hex.cpp +++ b/src/codec/hex/hex.cpp @@ -6,6 +6,7 @@ #include <botan/hex.h> #include <botan/parsing.h> #include <botan/charset.h> +#include <botan/exceptn.h> #include <algorithm> namespace Botan { diff --git a/src/codec/zlib/zlib.cpp b/src/codec/zlib/zlib.cpp index 36a9640e3..6f1e2b770 100644 --- a/src/codec/zlib/zlib.cpp +++ b/src/codec/zlib/zlib.cpp @@ -6,6 +6,8 @@ *************************************************/ #include <botan/zlib.h> +#include <botan/exceptn.h> + #include <cstring> #include <map> #include <zlib.h> |