From 076db1731b350d5585f634e3521e09f2fe619472 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 5 Jan 2024 09:36:09 -0500 Subject: [PATCH] lib: zebra.h is not using signal.h Signed-off-by: Donald Sharp --- ldpd/ldpd.c | 1 + lib/event.c | 2 ++ lib/frr_pthread.c | 3 +++ lib/libfrr.c | 2 ++ lib/sigevent.c | 2 ++ lib/zebra.h | 1 - vtysh/vtysh_main.c | 1 + watchfrr/watchfrr.c | 2 ++ watchfrr/watchfrr_vty.c | 2 ++ 9 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c index 621f0c9a43f5..a4d45d9c8d32 100644 --- a/ldpd/ldpd.c +++ b/ldpd/ldpd.c @@ -10,6 +10,7 @@ #include +#include #include #include diff --git a/lib/event.c b/lib/event.c index 823894eecb59..e7cfd7294b78 100644 --- a/lib/event.c +++ b/lib/event.c @@ -6,6 +6,8 @@ /* #define DEBUG */ #include + +#include #include #include "frrevent.h" diff --git a/lib/frr_pthread.c b/lib/frr_pthread.c index c4ead01bf6ea..761969266ae4 100644 --- a/lib/frr_pthread.c +++ b/lib/frr_pthread.c @@ -5,6 +5,9 @@ */ #include + +#include + #include #ifdef HAVE_PTHREAD_NP_H #include diff --git a/lib/libfrr.c b/lib/libfrr.c index 4cc04babe9e9..d38b4ec4c040 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -6,6 +6,8 @@ */ #include + +#include #include #include #include diff --git a/lib/sigevent.c b/lib/sigevent.c index 3cd65eb80085..06f80db4cca8 100644 --- a/lib/sigevent.c +++ b/lib/sigevent.c @@ -4,6 +4,8 @@ */ #include + +#include #include #include #include diff --git a/lib/zebra.h b/lib/zebra.h index e38dba0debed..339b832e9d44 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -18,7 +18,6 @@ #include #include #include -#include #include #ifdef HAVE_STROPTS_H #include diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c index 58b1ded23ef2..6065776f11a8 100644 --- a/vtysh/vtysh_main.c +++ b/vtysh/vtysh_main.c @@ -5,6 +5,7 @@ #include +#include #include #include #include diff --git a/watchfrr/watchfrr.c b/watchfrr/watchfrr.c index 406765a78149..707e01f4efbb 100644 --- a/watchfrr/watchfrr.c +++ b/watchfrr/watchfrr.c @@ -6,6 +6,8 @@ */ #include + +#include #include #include diff --git a/watchfrr/watchfrr_vty.c b/watchfrr/watchfrr_vty.c index 3afc76761d3e..0547c1e8b3f5 100644 --- a/watchfrr/watchfrr_vty.c +++ b/watchfrr/watchfrr_vty.c @@ -6,6 +6,8 @@ */ #include + +#include #include #include "memory.h"