vconn: Add extern "C" { ... } for C++ header support.
authorTom Everman <teverman@google.com>
Wed, 16 Jun 2010 19:47:17 +0000 (12:47 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 16 Jun 2010 19:47:17 +0000 (12:47 -0700)
lib/vconn.h

index 1426c1d..a9b0c7e 100644 (file)
 
 #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 */