diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 08:55:54 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-04-21 10:18:01 +0200 |
commit | 388f8857eb81ef75014060976776523a58a99389 (patch) | |
tree | d425f43437cc937f4cd415d3170c8d6c8f6bf33c | |
parent | 21401f3215be26dcb0f787105f5907745498e966 (diff) | |
download | quagga-388f8857eb81ef75014060976776523a58a99389.tar.bz2 quagga-388f8857eb81ef75014060976776523a58a99389.tar.xz |
*: 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>
-rw-r--r-- | isisd/isis_circuit.h | 2 | ||||
-rw-r--r-- | lib/distribute.h | 1 | ||||
-rw-r--r-- | lib/smux.h | 2 | ||||
-rw-r--r-- | ospf6d/ospf6_interface.c | 1 | ||||
-rw-r--r-- | ospf6d/ospf6_neighbor.c | 1 | ||||
-rw-r--r-- | ospf6d/ospf6_snmp.c | 2 | ||||
-rw-r--r-- | vtysh/vtysh_user.c | 1 | ||||
-rw-r--r-- | zebra/if_sysctl.c | 1 |
8 files changed, 11 insertions, 0 deletions
diff --git a/isisd/isis_circuit.h b/isisd/isis_circuit.h index 7ed481dc..d86fee04 100644 --- a/isisd/isis_circuit.h +++ b/isisd/isis_circuit.h @@ -23,6 +23,8 @@ #ifndef ISIS_CIRCUIT_H #define ISIS_CIRCUIT_H +#include "vty.h" + #define CIRCUIT_MAX 255 struct password diff --git a/lib/distribute.h b/lib/distribute.h index 5072016f..a2ffffd5 100644 --- a/lib/distribute.h +++ b/lib/distribute.h @@ -24,6 +24,7 @@ #include <zebra.h> #include "if.h" +#include "filter.h" /* Disctirubte list types. */ enum distribute_type @@ -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 diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 772caff7..7c2d46fe 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -40,6 +40,7 @@ #include "ospf6_neighbor.h" #include "ospf6_intra.h" #include "ospf6_spf.h" +#include "ospf6_snmp.h" #include "ospf6d.h" unsigned char conf_debug_ospf6_interface = 0; diff --git a/ospf6d/ospf6_neighbor.c b/ospf6d/ospf6_neighbor.c index f20c83b9..4e637970 100644 --- a/ospf6d/ospf6_neighbor.c +++ b/ospf6d/ospf6_neighbor.c @@ -38,6 +38,7 @@ #include "ospf6_neighbor.h" #include "ospf6_intra.h" #include "ospf6_flood.h" +#include "ospf6_snmp.h" #include "ospf6d.h" unsigned char conf_debug_ospf6_neighbor = 0; diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c index 4be8be04..5d10ce63 100644 --- a/ospf6d/ospf6_snmp.c +++ b/ospf6d/ospf6_snmp.c @@ -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" diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c index 58676c10..8f2cf422 100644 --- a/vtysh/vtysh_user.c +++ b/vtysh/vtysh_user.c @@ -37,6 +37,7 @@ #include "memory.h" #include "linklist.h" #include "command.h" +#include "vtysh_user.h" #ifdef USE_PAM static struct pam_conv conv = diff --git a/zebra/if_sysctl.c b/zebra/if_sysctl.c index 5e809964..ffa6927d 100644 --- a/zebra/if_sysctl.c +++ b/zebra/if_sysctl.c @@ -29,6 +29,7 @@ #include "memory.h" #include "ioctl.h" #include "log.h" +#include "interface.h" #include "zebra/rt.h" #include "zebra/kernel_socket.h" |