aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pubkey.cpp7
-rw-r--r--src/pubkey.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp
index a89988cc90..334acb454e 100644
--- a/src/pubkey.cpp
+++ b/src/pubkey.cpp
@@ -5,9 +5,16 @@
#include <pubkey.h>
+#include <hash.h>
#include <secp256k1.h>
+#include <secp256k1_extrakeys.h>
#include <secp256k1_recovery.h>
#include <secp256k1_schnorrsig.h>
+#include <span.h>
+#include <uint256.h>
+
+#include <algorithm>
+#include <cassert>
namespace
{
diff --git a/src/pubkey.h b/src/pubkey.h
index b653c202fc..1af1187006 100644
--- a/src/pubkey.h
+++ b/src/pubkey.h
@@ -12,7 +12,7 @@
#include <span.h>
#include <uint256.h>
-#include <stdexcept>
+#include <cstring>
#include <vector>
const unsigned int BIP32_EXTKEY_SIZE = 74;