aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-11-05 05:03:56 -0500
committerJack Lloyd <[email protected]>2020-11-05 05:03:56 -0500
commit3f7ad2a6256fbbc3b4a3619d98b91abf6e68dafe (patch)
treeb215bbdb4a9409583bdb9c10c202cf842a8a3723
parent7688e7a0985878e5db79796eac81df3f565e6894 (diff)
MSVC doesn't accept std::vector with incomplete types in C++11
-rw-r--r--src/lib/pubkey/mce/mceliece.h2
-rw-r--r--src/lib/pubkey/mce/polyn_gf2m.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/pubkey/mce/mceliece.h b/src/lib/pubkey/mce/mceliece.h
index ff11ec746..ba044ef7d 100644
--- a/src/lib/pubkey/mce/mceliece.h
+++ b/src/lib/pubkey/mce/mceliece.h
@@ -13,7 +13,7 @@
#define BOTAN_MCELIECE_KEY_H_
#include <botan/pk_keys.h>
-#include <botan/exceptn.h>
+#include <botan/polyn_gf2m.h>
namespace Botan {
diff --git a/src/lib/pubkey/mce/polyn_gf2m.h b/src/lib/pubkey/mce/polyn_gf2m.h
index 574fcb917..0f9bf07f9 100644
--- a/src/lib/pubkey/mce/polyn_gf2m.h
+++ b/src/lib/pubkey/mce/polyn_gf2m.h
@@ -16,7 +16,8 @@
#include <utility>
#include <string>
-BOTAN_FUTURE_INTERNAL_HEADER(polyn_gf2m.h)
+// Currently must be visible for MSVC
+//BOTAN_FUTURE_INTERNAL_HEADER(polyn_gf2m.h)
namespace Botan {