flow: Avoid assertion failure on invalid IPv6 packet.
[openvswitch] / lib / svec.h
index 2a93139ad9acf2b69f555ff2ae00518d275900bf..7fdc6b5138a2dad3ff9cebe6a6353b95692b6d03 100644 (file)
 #include <stdbool.h>
 #include <stddef.h>
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 struct svec {
     char **names;
     size_t n;
@@ -68,4 +72,8 @@ void svec_pop_back(struct svec *);
           : 0);                                 \
          (INDEX)++)
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* svec.h */