summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/kernel_netlink.c1
-rw-r--r--zebra/zserv.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c
index 387a3531bd..4971994346 100644
--- a/zebra/kernel_netlink.c
+++ b/zebra/kernel_netlink.c
@@ -23,6 +23,7 @@
#if defined(HANDLE_NETLINK_FUZZING)
#include <stdio.h>
#include <string.h>
+#include "libfrr.h"
#endif /* HANDLE_NETLINK_FUZZING */
#ifdef HAVE_NETLINK
diff --git a/zebra/zserv.c b/zebra/zserv.c
index 49fb302ba8..cb9ca6578b 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -1067,10 +1067,8 @@ DEFUN (show_zebra_client_summary,
void zserv_read_file(char *input)
{
int fd;
- struct thread t;
fd = open(input, O_RDONLY | O_NONBLOCK);
- t.u.fd = fd;
zserv_client_create(fd);
}