]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add missing include
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 1 Oct 2021 19:40:04 +0000 (20:40 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 1 Oct 2021 19:40:04 +0000 (20:40 +0100)
src/libutil/mem_pool.h

index d3927a1bc31ce6b7f93cf84d4af0bc0347faeb0a..220d8f3896860f70e13dcce8b226435a99568c07 100644 (file)
@@ -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>