summaryrefslogtreecommitdiff
path: root/lib/smux.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-03 08:55:54 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-07 08:50:09 -0400
commit1cc5e6822b05f6bf6a5b26b515ff78355d89fb07 (patch)
treebea67dfe88832eb48bfef7da1f4f1815578c4ba1 /lib/smux.h
parentf2bce9a5b39e9fcd3da3e338ef197fa5109a5010 (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/smux.h')
-rw-r--r--lib/smux.h2
1 files changed, 2 insertions, 0 deletions
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