summaryrefslogtreecommitdiff
path: root/zebra/zebra_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_memory.h')
-rw-r--r--zebra/zebra_memory.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_memory.h b/zebra/zebra_memory.h
index de55478de2..667c73b227 100644
--- a/zebra/zebra_memory.h
+++ b/zebra/zebra_memory.h
@@ -24,6 +24,10 @@
#include "memory.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
DECLARE_MGROUP(ZEBRA)
DECLARE_MTYPE(RTADV_PREFIX)
DECLARE_MTYPE(ZEBRA_NS)
@@ -37,4 +41,8 @@ DECLARE_MTYPE(RNH)
DECLARE_MTYPE(DP_CTX)
DECLARE_MTYPE(DP_PROV)
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _QUAGGA_ZEBRA_MEMORY_H */