diff options
author | Donald Sharp <sharpd@nvidia.com> | 2024-01-05 15:36:09 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2024-01-09 18:50:40 +0100 |
commit | 8049f74fc638929b6e134b3f757d980d3559b226 (patch) | |
tree | 19af3d5c5588549ecc8876877a2981ad20d54d68 /lib | |
parent | lib: zebra.h uses pwd.h when it should not (diff) | |
download | frr-8049f74fc638929b6e134b3f757d980d3559b226.tar.xz frr-8049f74fc638929b6e134b3f757d980d3559b226.zip |
lib: zebra.h is not using signal.h
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/event.c | 2 | ||||
-rw-r--r-- | lib/frr_pthread.c | 3 | ||||
-rw-r--r-- | lib/libfrr.c | 2 | ||||
-rw-r--r-- | lib/sigevent.c | 2 | ||||
-rw-r--r-- | lib/zebra.h | 1 |
5 files changed, 9 insertions, 1 deletions
diff --git a/lib/event.c b/lib/event.c index 3ca27f6d8..a7851f698 100644 --- a/lib/event.c +++ b/lib/event.c @@ -6,6 +6,8 @@ /* #define DEBUG */ #include <zebra.h> + +#include <signal.h> #include <sys/resource.h> #include "frrevent.h" diff --git a/lib/frr_pthread.c b/lib/frr_pthread.c index c4ead01bf..761969266 100644 --- a/lib/frr_pthread.c +++ b/lib/frr_pthread.c @@ -5,6 +5,9 @@ */ #include <zebra.h> + +#include <signal.h> + #include <pthread.h> #ifdef HAVE_PTHREAD_NP_H #include <pthread_np.h> diff --git a/lib/libfrr.c b/lib/libfrr.c index 4cc04babe..d38b4ec4c 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -6,6 +6,8 @@ */ #include <zebra.h> + +#include <signal.h> #include <sys/stat.h> #include <sys/un.h> #include <fcntl.h> diff --git a/lib/sigevent.c b/lib/sigevent.c index 3cd65eb80..06f80db4c 100644 --- a/lib/sigevent.c +++ b/lib/sigevent.c @@ -4,6 +4,8 @@ */ #include <zebra.h> + +#include <signal.h> #include <sigevent.h> #include <log.h> #include <memory.h> diff --git a/lib/zebra.h b/lib/zebra.h index e38dba0de..339b832e9 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -18,7 +18,6 @@ #include <stddef.h> #include <ctype.h> #include <errno.h> -#include <signal.h> #include <string.h> #ifdef HAVE_STROPTS_H #include <stropts.h> |