commit 06c6c93: [Minor] Cherry-pick a fix for replxx to build with gcc10

Heiko Becker heirecka at exherbo.org
Sat Apr 4 07:49:18 UTC 2020


Author: Heiko Becker
Date: 2020-04-04 00:15:28 +0200
URL: https://github.com/rspamd/rspamd/commit/06c6c939ae59516a720f0cfc5a29e214b6569476 (refs/pull/3320/head)

[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.

---
 contrib/replxx/src/io.cxx | 1 +
 1 file changed, 1 insertion(+)

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
 


More information about the Commits mailing list