I saw following error while testing this series. ---8<--- In file included from lib/smap.c:16: ./lib/smap.h:75:56: warning: declaration of 'struct in6_addr' will not be visible outside of this function [-Wvisibility] void smap_add_ipv6(struct smap *, const char *, struct in6_addr *); ^ lib/smap.c:102:1: error: conflicting types for 'smap_add_ipv6' smap_add_ipv6(struct smap *smap, const char *key, struct in6_addr *addr) ^ ./lib/smap.h:75:6: note: previous declaration is here void smap_add_ipv6(struct smap *, const char *, struct in6_addr *);
Signed-off-by: Pravin B Shelar <pshe...@ovn.org> --- lib/smap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/smap.h b/lib/smap.h index 7562f38..dd774d5 100644 --- a/lib/smap.h +++ b/lib/smap.h @@ -15,6 +15,7 @@ #ifndef SMAP_H #define SMAP_H 1 +#include <netinet/in.h> #include "hmap.h" struct json; -- 2.5.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev