rtbsd.h requires net/if.h for IF_NAMESIZE. This was not caught because rtbsd.c did not include rtbsd.h as its first header.
Signed-off-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com> --- lib/rtbsd.c | 3 ++- lib/rtbsd.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rtbsd.c b/lib/rtbsd.c index c3dbdca..8fc88e4 100644 --- a/lib/rtbsd.c +++ b/lib/rtbsd.c @@ -16,6 +16,8 @@ #include <config.h> +#include "rtbsd.h" + #include <unistd.h> #include <errno.h> #include <sys/socket.h> @@ -27,7 +29,6 @@ #include "socket-util.h" #include "poll-loop.h" #include "openvswitch/vlog.h" -#include "rtbsd.h" VLOG_DEFINE_THIS_MODULE(rtbsd); COVERAGE_DEFINE(rtbsd_changed); diff --git a/lib/rtbsd.h b/lib/rtbsd.h index 5dfbaff..d6b79f3 100644 --- a/lib/rtbsd.h +++ b/lib/rtbsd.h @@ -17,6 +17,7 @@ #ifndef RTBSD_H #define RTBSD_H 1 +#include <net/if.h> #include "list.h" /* -- 2.4.2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev