summaryrefslogtreecommitdiff
path: root/zebra/irdp.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/irdp.h')
-rw-r--r--zebra/irdp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/irdp.h b/zebra/irdp.h
index 4800e75be3..3f4fa93460 100644
--- a/zebra/irdp.h
+++ b/zebra/irdp.h
@@ -28,6 +28,10 @@
#include "lib/vty.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define TRUE 1
#define FALSE 0
@@ -150,5 +154,8 @@ extern int irdp_read_raw(struct thread *r);
extern void send_packet(struct interface *ifp, struct stream *s, uint32_t dst,
struct prefix *p, uint32_t ttl);
+#ifdef __cplusplus
+}
+#endif
#endif /* _IRDP_H */