summaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/cfg_file_private.h')
-rw-r--r--src/libserver/cfg_file_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/cfg_file_private.h b/src/libserver/cfg_file_private.h
index 94cb9aa08..8a88f6e3e 100644
--- a/src/libserver/cfg_file_private.h
+++ b/src/libserver/cfg_file_private.h
@@ -22,6 +22,10 @@
#define HASH_CASELESS
#include "uthash_strcase.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Action config definition
*/
@@ -35,4 +39,8 @@ struct rspamd_action {
struct UT_hash_handle hh; /* Index by name */
};
+#ifdef __cplusplus
+}
+#endif
+
#endif