summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-01 20:40:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-01 20:40:04 +0100
commit65803d93db5b08e5a87e71797438046e0859758e (patch)
tree4f2f6c864ce011beb4a10df0ed4efec90dfc48e1 /src
parent11edb8d089395d439b0dd18f376c83404e9bebfd (diff)
downloadrspamd-65803d93db5b08e5a87e71797438046e0859758e.tar.gz
rspamd-65803d93db5b08e5a87e71797438046e0859758e.zip
[Minor] Add missing include
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>