aboutsummaryrefslogtreecommitdiff
path: root/src/util/overflow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/overflow.h')
-rw-r--r--src/util/overflow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/overflow.h b/src/util/overflow.h
index 5982af8d04..c70a8b663e 100644
--- a/src/util/overflow.h
+++ b/src/util/overflow.h
@@ -6,6 +6,7 @@
#define BITCOIN_UTIL_OVERFLOW_H
#include <limits>
+#include <optional>
#include <type_traits>
template <class T>