Because some warnings tell that vty structure is not known, it is
advised to self-content the header so that vty structure is known.
Smooth alternative would have been to declare structure name on top of
bgpd.h.

Signed-off-by: Philippe Guibert <philippe.guib...@6wind.com>
---
 bgpd/bgpd.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index ba870a025ffb..f1de8bbc847b 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -26,6 +26,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA
 #include "bgp_ecommunity.h"
 #include "prefix.h"
 #include "filter.h"
+#include "vty.h"
 #include "qzc.h"
 
 /* Typedef BGP specific types.  */
-- 
2.1.4


_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to