summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-03 08:55:54 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2015-04-21 10:18:01 +0200
commit388f8857eb81ef75014060976776523a58a99389 (patch)
treed425f43437cc937f4cd415d3170c8d6c8f6bf33c /lib
parent21401f3215be26dcb0f787105f5907745498e966 (diff)
downloadquagga-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>
Diffstat (limited to 'lib')
-rw-r--r--lib/distribute.h1
-rw-r--r--lib/smux.h2
2 files changed, 3 insertions, 0 deletions
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
diff --git a/lib/smux.h b/lib/smux.h
index 72b4eaf0..02e96309 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