summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-08-20 23:12:00 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-08-20 23:12:00 +0400
commitb62987450e4d4e0dd18a2766aff220d42174042b (patch)
tree3c23b6b539062859bbe3e402d335979f903fca4f
parenteb223062582ba463856119efa30ae1989c2a901d (diff)
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.
-rw-r--r--ospf6d/ospf6_abr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_abr.h b/ospf6d/ospf6_abr.h
index 5d00c474..86d00280 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() \