*: remove sys/stat.h from zebra.h

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-01-04 16:03:55 -05:00
parent 7497d33f2f
commit 848dcf3d03
25 changed files with 26 additions and 2 deletions

View File

@ -11,6 +11,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <sys/un.h>

View File

@ -4,6 +4,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include "log.h"
#include "stream.h"

View File

@ -6,6 +6,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <sys/un.h>
#include "ldpd.h"

View File

@ -11,6 +11,7 @@
#include <zebra.h>
#include <sys/utsname.h>
#include <sys/stat.h>
#include <lib/version.h>
#include "command.h"

View File

@ -6,6 +6,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <sys/types.h>

View File

@ -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"

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include "libfrr.h"
#include "lib/version.h"

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <log.h>
#include "lib/version.h"

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <sys/un.h>
#include "frrevent.h"

View File

@ -5,7 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <lib/version.h>
#include <sys/types.h>
#include <sys/types.h>

View File

@ -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

View File

@ -4,6 +4,7 @@
*/
#include "zebra.h"
#include <sys/stat.h>
#ifdef HAVE_GLIBC_BACKTRACE
#include <execinfo.h>

View File

@ -4,6 +4,7 @@
*/
#include "zebra.h"
#include <sys/stat.h>
#ifdef CRYPTO_OPENSSL
#include <openssl/evp.h>

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#ifdef CRYPTO_OPENSSL
#include <openssl/evp.h>

View File

@ -3,6 +3,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <lib/version.h>
#include "getopt.h"

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <lib/version.h>
#include "getopt.h"

View File

@ -7,6 +7,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include "frrevent.h"
#include "vty.h"

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include "frrevent.h"
#include "vty.h"

View File

@ -3,6 +3,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include <lib/version.h>
#include "getopt.h"

View File

@ -1,4 +1,5 @@
#include <zebra.h>
#include <sys/stat.h>
#include "getopt.h"
#include "frrevent.h"

View File

@ -7,6 +7,7 @@
#define REALLY_NEED_PLAIN_GETOPT 1
#include <zebra.h>
#include <sys/stat.h>
#include <unistd.h>

View File

@ -5,6 +5,7 @@
#include <zebra.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <setjmp.h>
#include <pwd.h>

View File

@ -6,6 +6,8 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#include "frrevent.h"
#include <log.h>
#include <network.h>

View File

@ -4,6 +4,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#ifdef HAVE_NETLINK

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <sys/stat.h>
#ifdef GNU_LINUX
#include <linux/if_link.h>