diff options
author | Jack Lloyd <[email protected]> | 2017-10-06 21:12:04 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-06 21:12:04 -0400 |
commit | 95185297aa91edf34c68fd56f7f095df16a7197f (patch) | |
tree | a6d9518d9e3830f36fce77b06f320f7c4cb3ec1e /src/lib | |
parent | e822475e1edd6d7abd564e1310044794275eba48 (diff) |
Forward declare BigInt in mp_core.h
Only needed in one source file here.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/math/mp/mp_core.h | 3 | ||||
-rw-r--r-- | src/lib/math/mp/mp_karat.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/math/mp/mp_core.h b/src/lib/math/mp/mp_core.h index 15b71d03f..06f87015f 100644 --- a/src/lib/math/mp/mp_core.h +++ b/src/lib/math/mp/mp_core.h @@ -10,11 +10,12 @@ #ifndef BOTAN_MP_CORE_OPS_H_ #define BOTAN_MP_CORE_OPS_H_ -#include <botan/bigint.h> #include <botan/mp_types.h> namespace Botan { +class BigInt; + /* * The size of the word type, in bits */ diff --git a/src/lib/math/mp/mp_karat.cpp b/src/lib/math/mp/mp_karat.cpp index 60924fb86..8348025d9 100644 --- a/src/lib/math/mp/mp_karat.cpp +++ b/src/lib/math/mp/mp_karat.cpp @@ -8,6 +8,7 @@ #include <botan/internal/mp_core.h> #include <botan/internal/mp_asmi.h> +#include <botan/bigint.h> #include <botan/mem_ops.h> namespace Botan { |