aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/replxx/src
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2020-04-04 00:15:28 +0200
committerHeiko Becker <heirecka@exherbo.org>2020-04-04 00:15:28 +0200
commit06c6c939ae59516a720f0cfc5a29e214b6569476 (patch)
tree72231a8d531e477d7280bf2d49d7e68d4003a3d5 /contrib/replxx/src
parent641b8b0c214450a432c36fdedb5237d68460a004 (diff)
downloadrspamd-06c6c939ae59516a720f0cfc5a29e214b6569476.tar.gz
rspamd-06c6c939ae59516a720f0cfc5a29e214b6569476.zip
[Minor] Cherry-pick a fix for replxx to build with gcc10
723d9c84869511dfb5e63f5c3d3372ac38114713 in replxx's git. Building rspamd with gcc10 errors out with "'runtime_error' is not a member of 'std'" otherwise.
Diffstat (limited to 'contrib/replxx/src')
-rw-r--r--contrib/replxx/src/io.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/replxx/src/io.cxx b/contrib/replxx/src/io.cxx
index a09886701..8df176d1c 100644
--- a/contrib/replxx/src/io.cxx
+++ b/contrib/replxx/src/io.cxx
@@ -3,6 +3,7 @@
#include <cstdlib>
#include <cstring>
#include <array>
+#include <stdexcept>
#ifdef _WIN32