diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2011-08-20 21:12:00 +0200 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-08-27 19:20:40 +0200 |
commit | a0bf59bcac8b40c3f83e7f2e7f65087ece6acfc7 (patch) | |
tree | e1352b965caa07bdc181f8d30f3e107deb97bc60 /ospf6d | |
parent | ospf6d: move named constants to ospf6d.h (diff) | |
download | frr-a0bf59bcac8b40c3f83e7f2e7f65087ece6acfc7.tar.xz frr-a0bf59bcac8b40c3f83e7f2e7f65087ece6acfc7.zip |
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.
Diffstat (limited to 'ospf6d')
-rw-r--r-- | ospf6d/ospf6_abr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_abr.h b/ospf6d/ospf6_abr.h index 5d00c4748..86d002808 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() \ |