From 95185297aa91edf34c68fd56f7f095df16a7197f Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 6 Oct 2017 21:12:04 -0400 Subject: Forward declare BigInt in mp_core.h Only needed in one source file here. --- src/lib/math/mp/mp_core.h | 3 ++- src/lib/math/mp/mp_karat.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/math/mp') 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 #include 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 #include +#include #include namespace Botan { -- cgit v1.2.3