summaryrefslogtreecommitdiff
path: root/ospf6d
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-08-20 23:12:00 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-08-27 21:20:40 +0400
commita0bf59bcac8b40c3f83e7f2e7f65087ece6acfc7 (patch)
treee1352b965caa07bdc181f8d30f3e107deb97bc60 /ospf6d
parentef95122eb214f80700fc79b4a95686eadfea859b (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.
Diffstat (limited to 'ospf6d')
-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() \