diff options
author | lloyd <[email protected]> | 2015-01-08 14:08:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-01-08 14:08:57 +0000 |
commit | c007494a9e934f2e84eb07d616c671e9fa1325c6 (patch) | |
tree | a6b12cb5dd3bf9b13fe48864d3ecea38de7b9290 /src/lib/math | |
parent | dabb6fd8a035ad0b72740f49b149aae25c3de9d6 (diff) |
This assumed other headers it did not include
Diffstat (limited to 'src/lib/math')
-rw-r--r-- | src/lib/math/bigint/bigint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/math/bigint/bigint.h b/src/lib/math/bigint/bigint.h index 779f5061d..b14805a40 100644 --- a/src/lib/math/bigint/bigint.h +++ b/src/lib/math/bigint/bigint.h @@ -12,6 +12,7 @@ #include <botan/rng.h> #include <botan/secmem.h> #include <botan/mp_types.h> +#include <botan/get_byte.h> #include <iosfwd> namespace Botan { @@ -277,7 +278,7 @@ class BOTAN_DLL BigInt */ bool get_bit(size_t n) const { - return ((word_at(n / MP_WORD_BITS) >> (n % MP_WORD_BITS)) & 1); + return ((word_at(n / BOTAN_MP_WORD_BITS) >> (n % BOTAN_MP_WORD_BITS)) & 1); } /** |