From fd995a99e438513e7185dda5c97e3ccafe6eef64 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 2 Mar 2017 02:02:52 +0000 Subject: [PATCH] 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 --- lib/plist.c | 1 - lib/plist.h | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 + +#include "stream.h" +#include "vty.h" + enum prefix_list_type { PREFIX_DENY, -- 2.39.5