From bc434dbe09d1a39689d97b3b1c34d9bf0ab837e7 Mon Sep 17 00:00:00 2001 From: Tom Everman Date: Wed, 16 Jun 2010 12:47:17 -0700 Subject: [PATCH] vconn: Add extern "C" { ... } for C++ header support. --- lib/vconn.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/vconn.h b/lib/vconn.h index 1426c1d84..a9b0c7e0a 100644 --- a/lib/vconn.h +++ b/lib/vconn.h @@ -24,6 +24,10 @@ #include "flow.h" +#ifdef __cplusplus +extern "C" { +#endif + struct ofpbuf; struct ofp_action_header; struct ofp_header; @@ -136,4 +140,8 @@ ofp_mkerr(uint16_t type, uint16_t code) return (type << 16) | code; } +#ifdef __cplusplus +} +#endif + #endif /* vconn.h */ -- 2.47.0