3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/foundationdb/patches/stdexcept-6.1.patch

25 lines
690 B
Diff
Raw Normal View History

diff --git a/FDBLibTLS/FDBLibTLSPolicy.cpp b/FDBLibTLS/FDBLibTLSPolicy.cpp
index 728ff871d..46e1dd289 100644
--- a/FDBLibTLS/FDBLibTLSPolicy.cpp
+++ b/FDBLibTLS/FDBLibTLSPolicy.cpp
@@ -31,6 +31,7 @@
#include <algorithm>
#include <exception>
#include <map>
+#include <stdexcept>
#include <string>
#include <vector>
diff --git a/FDBLibTLS/FDBLibTLSVerify.cpp b/FDBLibTLS/FDBLibTLSVerify.cpp
index 594389916..1c8b9b50d 100644
--- a/FDBLibTLS/FDBLibTLSVerify.cpp
+++ b/FDBLibTLS/FDBLibTLSVerify.cpp
@@ -25,6 +25,7 @@
#include <algorithm>
#include <exception>
#include <cstring>
+#include <stdexcept>
static int hexValue(char c) {
static char const digits[] = "0123456789ABCDEF";