]> git.puffer.fish Git - mirror/frr.git/commitdiff
*: add missing includes
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 3 Mar 2015 07:55:54 +0000 (08:55 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 7 Jun 2016 12:50:09 +0000 (08:50 -0400)
Some places, particularly headers, were spewing warnings since they
don't include neccessary other headers to get struct/enum definitions.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 388f8857eb81ef75014060976776523a58a99389)

lib/distribute.h
lib/smux.h
ospf6d/ospf6_interface.c
ospf6d/ospf6_neighbor.c
ospf6d/ospf6_snmp.c

index 5072016fdc9d82c17939435a96cfca7c2eef27da..a2ffffd5fced9904a74db2828b2cb648c1862427 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <zebra.h>
 #include "if.h"
+#include "filter.h"
 
 /* Disctirubte list types. */
 enum distribute_type
index 45e84eead2c5a0c642391fed8bf3ed3b2ee65991..dc91cac71a851476f942bd27d37d4934722656fa 100644 (file)
@@ -25,6 +25,8 @@
 #include <net-snmp/agent/net-snmp-agent-includes.h>
 #include <net-snmp/agent/snmp_vars.h>
 
+#include "thread.h"
+
 /* Structures here are mostly compatible with UCD SNMP 4.1.1 */
 #define MATCH_FAILED     (-1)
 #define MATCH_SUCCEEDED  0
index b192d6850b6da7a5db6186ae341eda5806f63bb2..39942d7b1812733403a335fea420302cc92313e1 100644 (file)
@@ -41,6 +41,7 @@
 #include "ospf6_neighbor.h"
 #include "ospf6_intra.h"
 #include "ospf6_spf.h"
+#include "ospf6_snmp.h"
 #include "ospf6d.h"
 #include "ospf6_bfd.h"
 
index 49b4aceaeb163aa70a14baf02983a500c6a33889..9b0285eee9dd72297a8404fbb1207db53e6aacd4 100644 (file)
@@ -38,6 +38,7 @@
 #include "ospf6_neighbor.h"
 #include "ospf6_intra.h"
 #include "ospf6_flood.h"
+#include "ospf6_snmp.h"
 #include "ospf6d.h"
 #include "ospf6_bfd.h"
 #include "ospf6_abr.h"
index ed1917c3a807fab691b13eb779bf2b0215713f10..307d420eceb9283bb4cf01b836e0fb0f7ffe3003 100644 (file)
@@ -40,6 +40,8 @@
 #include "ospf6_interface.h"
 #include "ospf6_message.h"
 #include "ospf6_neighbor.h"
+#include "ospf6_abr.h"
+#include "ospf6_asbr.h"
 #include "ospf6d.h"
 #include "ospf6_snmp.h"