]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: add missing include
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 20 Aug 2011 19:12:00 +0000 (23:12 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 27 Aug 2011 17:20:40 +0000 (21:20 +0400)
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.

ospf6d/ospf6_abr.h

index 5d00c4748cbb3c81d29364465b4210ce19dde331..86d00280855da2067898314a36ebc2608bf7d666 100644 (file)
@@ -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() \