summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-03-02 02:02:52 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-03-02 02:09:00 +0000
commitfd995a99e438513e7185dda5c97e3ccafe6eef64 (patch)
tree37eae7bcf0cf22477ac70ac100f6113370d6d7e7
parent5f413b14733f688870197b126d5d8c3e5470c118 (diff)
lib: add stream.h, vty.h, zebra.h to plist.h
Since `afi_t` and `struct vty` are used in plist.h, the appropriate headers for them should be included. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-rw-r--r--lib/plist.c1
-rw-r--r--lib/plist.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/plist.c b/lib/plist.c
index 9a2fc4af09..3ed5c8fc5c 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -27,7 +27,6 @@
#include "plist.h"
#include "sockunion.h"
#include "buffer.h"
-#include "stream.h"
#include "log.h"
#include "routemap.h"
#include "lib/json.h"
diff --git a/lib/plist.h b/lib/plist.h
index 2c6f13a5c4..89d9a874f0 100644
--- a/lib/plist.h
+++ b/lib/plist.h
@@ -23,6 +23,11 @@
#ifndef _QUAGGA_PLIST_H
#define _QUAGGA_PLIST_H
+#include <zebra.h>
+
+#include "stream.h"
+#include "vty.h"
+
enum prefix_list_type
{
PREFIX_DENY,