diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 08:55:54 +0100 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-07 08:50:09 -0400 |
| commit | 1cc5e6822b05f6bf6a5b26b515ff78355d89fb07 (patch) | |
| tree | bea67dfe88832eb48bfef7da1f4f1815578c4ba1 /lib | |
| parent | f2bce9a5b39e9fcd3da3e338ef197fa5109a5010 (diff) | |
*: 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)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/distribute.h | 1 | ||||
| -rw-r--r-- | lib/smux.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/distribute.h b/lib/distribute.h index 5072016fdc..a2ffffd5fc 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 diff --git a/lib/smux.h b/lib/smux.h index 45e84eead2..dc91cac71a 100644 --- a/lib/smux.h +++ b/lib/smux.h @@ -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 |
