summaryrefslogtreecommitdiff
path: root/lib/pw.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pw.h')
-rw-r--r--lib/pw.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/pw.h b/lib/pw.h
index 2cfaa47e5d..0b923ed6b1 100644
--- a/lib/pw.h
+++ b/lib/pw.h
@@ -20,6 +20,10 @@
#ifndef _FRR_PW_H
#define _FRR_PW_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* L2VPN name length. */
#define L2VPN_NAME_LEN 32
@@ -49,4 +53,8 @@ union pw_protocol_fields {
} bgp;
};
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _FRR_PW_H */