]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Cherry-pick a fix for replxx to build with gcc10 3320/head
authorHeiko Becker <heirecka@exherbo.org>
Fri, 3 Apr 2020 22:15:28 +0000 (00:15 +0200)
committerHeiko Becker <heirecka@exherbo.org>
Fri, 3 Apr 2020 22:15:28 +0000 (00:15 +0200)
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

index a098867010be0881ee3103b3bb4c85a21a1a8252..8df176d1ce27ccfe34e463547e571927e80572f2 100644 (file)
@@ -3,6 +3,7 @@
 #include <cstdlib>
 #include <cstring>
 #include <array>
+#include <stdexcept>
 
 #ifdef _WIN32