summaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/protocol_internal.h')
-rw-r--r--src/libserver/protocol_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/protocol_internal.h b/src/libserver/protocol_internal.h
index fb2ee115a..1c49a04f2 100644
--- a/src/libserver/protocol_internal.h
+++ b/src/libserver/protocol_internal.h
@@ -17,6 +17,10 @@
#ifndef RSPAMD_PROTOCOL_INTERNAL_H
#define RSPAMD_PROTOCOL_INTERNAL_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Just check if the passed message is spam or not and reply as
* described below
@@ -85,4 +89,8 @@
#define MAILER_HEADER "Mailer"
#define RAW_DATA_HEADER "Raw"
+#ifdef __cplusplus
+}
+#endif
+
#endif //RSPAMD_PROTOCOL_INTERNAL_H