From: Denis Ovsienko Date: Sat, 20 Aug 2011 19:12:00 +0000 (+0400) Subject: ospf6d: add missing include X-Git-Tag: frr-2.0-rc1~2063 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a0bf59bcac8b40c3f83e7f2e7f65087ece6acfc7;p=mirror%2Ffrr.git ospf6d: add missing include Two extern declarations in ospf6_abr.h are based on struct ospf6_route, which may not be available at the time ospf6_abr.h is included. This may lead to warnings after including ospf6_abr.h just for the structures defined in it. --- diff --git a/ospf6d/ospf6_abr.h b/ospf6d/ospf6_abr.h index 5d00c4748c..86d0028085 100644 --- a/ospf6d/ospf6_abr.h +++ b/ospf6d/ospf6_abr.h @@ -22,6 +22,9 @@ #ifndef OSPF6_ABR_H #define OSPF6_ABR_H +/* for struct ospf6_route */ +#include "ospf6_route.h" + /* Debug option */ extern unsigned char conf_debug_ospf6_abr; #define OSPF6_DEBUG_ABR_ON() \