From 75f697bdccf86cbdf4615227ff0227664a1c14b3 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Mon, 27 Jul 2015 14:24:18 -0300 Subject: [PATCH] rtbsd: Include necessary headers on rtbsd.h. 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 Signed-off-by: Ben Pfaff --- 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 c3dbdcab4..8fc88e4f0 100644 --- a/lib/rtbsd.c +++ b/lib/rtbsd.c @@ -16,6 +16,8 @@ #include +#include "rtbsd.h" + #include #include #include @@ -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 5dfbaffcc..d6b79f3ad 100644 --- a/lib/rtbsd.h +++ b/lib/rtbsd.h @@ -17,6 +17,7 @@ #ifndef RTBSD_H #define RTBSD_H 1 +#include #include "list.h" /* -- 2.20.1