summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libutil/mem_pool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/mem_pool.h b/src/libutil/mem_pool.h
index d3927a1bc..220d8f389 100644
--- a/src/libutil/mem_pool.h
+++ b/src/libutil/mem_pool.h
@@ -398,7 +398,8 @@ GList *rspamd_mempool_glist_append (rspamd_mempool_t *pool,
#endif
#ifdef __cplusplus
-#include <memory> /* For allocator */
+#include <stdexcept> /* For std::runtime_error */
+
namespace rspamd {
template<class T>