*: add missing includes

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)
This commit is contained in:
David Lamparter 2015-03-03 08:55:54 +01:00 committed by Donald Sharp
parent f2bce9a5b3
commit 1cc5e6822b
5 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <zebra.h> #include <zebra.h>
#include "if.h" #include "if.h"
#include "filter.h"
/* Disctirubte list types. */ /* Disctirubte list types. */
enum distribute_type enum distribute_type

View File

@ -25,6 +25,8 @@
#include <net-snmp/agent/net-snmp-agent-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h>
#include <net-snmp/agent/snmp_vars.h> #include <net-snmp/agent/snmp_vars.h>
#include "thread.h"
/* Structures here are mostly compatible with UCD SNMP 4.1.1 */ /* Structures here are mostly compatible with UCD SNMP 4.1.1 */
#define MATCH_FAILED (-1) #define MATCH_FAILED (-1)
#define MATCH_SUCCEEDED 0 #define MATCH_SUCCEEDED 0

View File

@ -41,6 +41,7 @@
#include "ospf6_neighbor.h" #include "ospf6_neighbor.h"
#include "ospf6_intra.h" #include "ospf6_intra.h"
#include "ospf6_spf.h" #include "ospf6_spf.h"
#include "ospf6_snmp.h"
#include "ospf6d.h" #include "ospf6d.h"
#include "ospf6_bfd.h" #include "ospf6_bfd.h"

View File

@ -38,6 +38,7 @@
#include "ospf6_neighbor.h" #include "ospf6_neighbor.h"
#include "ospf6_intra.h" #include "ospf6_intra.h"
#include "ospf6_flood.h" #include "ospf6_flood.h"
#include "ospf6_snmp.h"
#include "ospf6d.h" #include "ospf6d.h"
#include "ospf6_bfd.h" #include "ospf6_bfd.h"
#include "ospf6_abr.h" #include "ospf6_abr.h"

View File

@ -40,6 +40,8 @@
#include "ospf6_interface.h" #include "ospf6_interface.h"
#include "ospf6_message.h" #include "ospf6_message.h"
#include "ospf6_neighbor.h" #include "ospf6_neighbor.h"
#include "ospf6_abr.h"
#include "ospf6_asbr.h"
#include "ospf6d.h" #include "ospf6d.h"
#include "ospf6_snmp.h" #include "ospf6_snmp.h"