]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: remove sys/stat.h from zebra.h
authorDonald Sharp <sharpd@nvidia.com>
Thu, 4 Jan 2024 21:03:55 +0000 (16:03 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 9 Jan 2024 17:39:23 +0000 (12:39 -0500)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
25 files changed:
bfdd/control.c
bgpd/bgp_dump.c
ldpd/control.c
lib/command.c
lib/libfrr.c
lib/mgmt_msg.c
lib/northbound_cli.c
lib/pid_output.c
lib/systemd.c
lib/vty.c
lib/zebra.h
lib/zlog.c
ospf6d/ospf6_auth_trailer.c
ospfd/ospf_auth.c
tests/helpers/c/main.c
tests/isisd/test_isis_spf.c
tests/lib/cli/common_cli.c
tests/lib/northbound/test_oper_data.c
tests/lib/test_privs.c
tests/ospfd/test_ospf_spf.c
tools/gen_northbound_callbacks.c
vtysh/vtysh_main.c
watchfrr/watchfrr.c
zebra/zebra_mpls_netlink.c
zebra/zebra_netns_id.c

index f435358f33c354438423add0758260f965bb8345..19888c14024d6b8d9b2ec1c3a8fc8f4e39968205 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include <sys/un.h>
 
index 529713ee3275029f988da30d110c25fa75735bf4..53b52124822e90f3dfb19e2f65c71c8542131ed6 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include "log.h"
 #include "stream.h"
index db52d46325399e204b6bc843ed91b69c26f5c1be..a08ce4cc1a619a651846761f5937c5c8190a4277 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 #include <sys/un.h>
 
 #include "ldpd.h"
index b33998839b289e1b737ac4303dfd5d829e5fc11b..3881829e2228d09a7e8e48e1d4fc86914e801c20 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <zebra.h>
 #include <sys/utsname.h>
+#include <sys/stat.h>
 #include <lib/version.h>
 
 #include "command.h"
index e80355f3b8cfe67873ac5e97bac6af3454bed964..bbef14378dabfefb7139992d048298adeec137eb 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 #include <sys/un.h>
 
 #include <sys/types.h>
index 99d000537ce9974e9376407d862947801974908e..d9c0d52e41fe22afef3be1469ca519675a9c89f0 100644 (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"
index 20f030e28097b1a500c53c3a5abad1c645d4134a..92d4ffb2bad1b84e3e648998483551a1c44fe678 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include "libfrr.h"
 #include "lib/version.h"
index 064a7bb47fbb6071dee4e1a43d80e3b8af037663..ce1b7d1969a876a1ff8af55ac367f9908c058e3c 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 #include <fcntl.h>
 #include <log.h>
 #include "lib/version.h"
index 56a53a6e781b447faede882ce266621040ebcc29..a82c376cfda5cfea9079f4b81492cd16514d19ce 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 #include <sys/un.h>
 
 #include "frrevent.h"
index a08a3c873590a10f1fa008e991095c0becfa664c..e068c5bf0c0df2a7ab54c75da82b913561cb752b 100644 (file)
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -5,7 +5,7 @@
  */
 
 #include <zebra.h>
-
+#include <sys/stat.h>
 #include <lib/version.h>
 #include <sys/types.h>
 #include <sys/types.h>
index 07cfc4492c41087ff9b8a8d3d11072d7bd857c9c..2a92c76f39490a50d72fd4efa0f6ce849e713a3e 100644 (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
index 446bdd7021fd31705fb76946a70335bd89dad677..3d7bd9ddf580afca004973d7f6020239684daca8 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include "zebra.h"
+#include <sys/stat.h>
 
 #ifdef HAVE_GLIBC_BACKTRACE
 #include <execinfo.h>
index 82671eef77c6335c75c4038f5030d7941481adbc..54b951654aa31dcbf1ec9d597358bbd5a0aa3b45 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include "zebra.h"
+#include <sys/stat.h>
 
 #ifdef CRYPTO_OPENSSL
 #include <openssl/evp.h>
index 74dc7d556ba415b0e947c81c34756f1222a47a05..2b090dca1efdb54d64fd136ff7220b4b21f41a12 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #ifdef CRYPTO_OPENSSL
 #include <openssl/evp.h>
index 8af53a2ea40bde45ca6df1cc0c0417f760407a69..fdda7f1e2a283ab1d3fa3bc86f9b9eac18de941e 100644 (file)
@@ -3,6 +3,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include <lib/version.h>
 #include "getopt.h"
index 6eb180b501db52343771683c48bd4fe008837138..95f045c90d44b05dd5ef847bea38f0a62c6a2cd6 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include <lib/version.h>
 #include "getopt.h"
index e0981b991acb99f5381022dcfdc195bb5c1b289a..f9f584f450f68d22a9e798d6a7bfa963ac3b6de2 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include "frrevent.h"
 #include "vty.h"
index f82eddd3bf1b976386e1757fadd8946992837c50..9ac75da4fef832ebe32cb7195cbe17d7aa129858 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include "frrevent.h"
 #include "vty.h"
index e26754857b896104b0f3ecd140fbcec79af16b4e..caf55c718f1666e36918f72832fa1d0cf9972032 100644 (file)
@@ -3,6 +3,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include <lib/version.h>
 #include "getopt.h"
index fc6b8e89ec6e8d5fa4f7661a8bc6ad42c4931a33..932763100b33f77ed7301d63fb0b658dbd279147 100644 (file)
@@ -1,4 +1,5 @@
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include "getopt.h"
 #include "frrevent.h"
index 5b778a15855669bbc371eab31ba7bdd6cdd08b8e..993aa34209283d719505e0ddc76999beea17c409 100644 (file)
@@ -7,6 +7,7 @@
 #define REALLY_NEED_PLAIN_GETOPT 1
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #include <unistd.h>
 
index c57e8c7997fe33b4f252f35ec382480fe1482443..58b1ded23ef22f16d580ac2d15688a4e401a5054 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <zebra.h>
 
+#include <sys/stat.h>
 #include <sys/un.h>
 #include <setjmp.h>
 #include <pwd.h>
index 73a033170c705528eedd030a120f6d586100aecb..6c4fcc3d6d72f743b4d9af902f901aa49f956731 100644 (file)
@@ -6,6 +6,8 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
+
 #include "frrevent.h"
 #include <log.h>
 #include <network.h>
index b76640743e7a6035dcaf3cd37f128684099b289d..f0f2c4b7a3336dff7cd9e90e458b7a07437d34a7 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #ifdef HAVE_NETLINK
 
index ae8f9d9a8d2c8b0953e5930e32d888c887a86227..a37d8b41d6d921fc4316293d2495777ee77893f1 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <zebra.h>
+#include <sys/stat.h>
 
 #ifdef GNU_LINUX
 #include <linux/if_link.h>