diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-01-04 16:03:55 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-01-09 12:39:23 -0500 |
| commit | 848dcf3d034bc2ca390b6aff968be83eaf11e584 (patch) | |
| tree | 667e43d50ca06e2c5e200be9f65559e73ac6e26b /lib | |
| parent | 7497d33f2f5475c0d2e516dde221c1222271ec07 (diff) | |
*: remove sys/stat.h from zebra.h
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/command.c | 1 | ||||
| -rw-r--r-- | lib/libfrr.c | 1 | ||||
| -rw-r--r-- | lib/mgmt_msg.c | 2 | ||||
| -rw-r--r-- | lib/northbound_cli.c | 1 | ||||
| -rw-r--r-- | lib/pid_output.c | 1 | ||||
| -rw-r--r-- | lib/systemd.c | 1 | ||||
| -rw-r--r-- | lib/vty.c | 2 | ||||
| -rw-r--r-- | lib/zebra.h | 1 | ||||
| -rw-r--r-- | lib/zlog.c | 1 |
9 files changed, 9 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index b33998839b..3881829e22 100644 --- a/lib/command.c +++ b/lib/command.c @@ -11,6 +11,7 @@ #include <zebra.h> #include <sys/utsname.h> +#include <sys/stat.h> #include <lib/version.h> #include "command.h" diff --git a/lib/libfrr.c b/lib/libfrr.c index e80355f3b8..bbef14378d 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -6,6 +6,7 @@ */ #include <zebra.h> +#include <sys/stat.h> #include <sys/un.h> #include <sys/types.h> diff --git a/lib/mgmt_msg.c b/lib/mgmt_msg.c index 99d000537c..d9c0d52e41 100644 --- a/lib/mgmt_msg.c +++ b/lib/mgmt_msg.c @@ -7,6 +7,8 @@ * Copyright (c) 2023, LabN Consulting, L.L.C. */ #include <zebra.h> +#include <sys/stat.h> + #include "debug.h" #include "network.h" #include "sockopt.h" diff --git a/lib/northbound_cli.c b/lib/northbound_cli.c index 20f030e280..92d4ffb2ba 100644 --- a/lib/northbound_cli.c +++ b/lib/northbound_cli.c @@ -5,6 +5,7 @@ */ #include <zebra.h> +#include <sys/stat.h> #include "libfrr.h" #include "lib/version.h" diff --git a/lib/pid_output.c b/lib/pid_output.c index 064a7bb47f..ce1b7d1969 100644 --- a/lib/pid_output.c +++ b/lib/pid_output.c @@ -5,6 +5,7 @@ */ #include <zebra.h> +#include <sys/stat.h> #include <fcntl.h> #include <log.h> #include "lib/version.h" diff --git a/lib/systemd.c b/lib/systemd.c index 56a53a6e78..a82c376cfd 100644 --- a/lib/systemd.c +++ b/lib/systemd.c @@ -5,6 +5,7 @@ */ #include <zebra.h> +#include <sys/stat.h> #include <sys/un.h> #include "frrevent.h" @@ -5,7 +5,7 @@ */ #include <zebra.h> - +#include <sys/stat.h> #include <lib/version.h> #include <sys/types.h> #include <sys/types.h> diff --git a/lib/zebra.h b/lib/zebra.h index 07cfc4492c..2a92c76f39 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -25,7 +25,6 @@ #ifdef HAVE_STROPTS_H #include <stropts.h> #endif /* HAVE_STROPTS_H */ -#include <sys/stat.h> #include <sys/types.h> #include <sys/param.h> #ifdef HAVE_SYS_SYSCTL_H diff --git a/lib/zlog.c b/lib/zlog.c index 446bdd7021..3d7bd9ddf5 100644 --- a/lib/zlog.c +++ b/lib/zlog.c @@ -4,6 +4,7 @@ */ #include "zebra.h" +#include <sys/stat.h> #ifdef HAVE_GLIBC_BACKTRACE #include <execinfo.h> |
