summaryrefslogtreecommitdiff
path: root/config_cxx.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-07-21 11:18:22 -0400
committerJeffrey Walton <noloader@gmail.com>2020-07-21 11:18:22 -0400
commit445243a9d1abc2cdd10a9e9d7f217a57b7497cde (patch)
tree917fa05959dcbefb3ff304b1264a400cec804d39 /config_cxx.h
parent080bbae6ddfd8fc72d2faaab10fc5e6c9e4a2799 (diff)
downloadcryptopp-git-445243a9d1abc2cdd10a9e9d7f217a57b7497cde.tar.gz
Add missing C++ headers (GH #960)
Diffstat (limited to 'config_cxx.h')
-rw-r--r--config_cxx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config_cxx.h b/config_cxx.h
index 7bcb3e53..b8299386 100644
--- a/config_cxx.h
+++ b/config_cxx.h
@@ -25,6 +25,10 @@
#include "config_cpu.h"
#include "config_ver.h"
+// https://github.com/weidai11/cryptopp/issues/960
+#include <string>
+#include <exception>
+
// You may need to force include a C++ header on Android when using STLPort
// to ensure _STLPORT_VERSION is defined
#if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__MWERKS__) || (defined(_STLPORT_VERSION) && ((_STLPORT_VERSION < 0x450) || defined(_STLP_NO_UNCAUGHT_EXCEPT_SUPPORT)))