aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-06 21:12:04 -0400
committerJack Lloyd <[email protected]>2017-10-06 21:12:04 -0400
commit95185297aa91edf34c68fd56f7f095df16a7197f (patch)
treea6d9518d9e3830f36fce77b06f320f7c4cb3ec1e /src
parente822475e1edd6d7abd564e1310044794275eba48 (diff)
Forward declare BigInt in mp_core.h
Only needed in one source file here.
Diffstat (limited to 'src')
-rw-r--r--src/lib/math/mp/mp_core.h3
-rw-r--r--src/lib/math/mp/mp_karat.cpp1
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 {