summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-04 22:22:05 +0100
committerDonald Sharp <sharpd@nvidia.com>2024-01-09 18:50:40 +0100
commitc6d94a705604c06f2241e2525bc2fbc2ee83bc80 (patch)
tree1115644d88fbc557f3661e591d2a7cbf5d2e5193 /zebra
parentlib: zebra.h was including compiler.h two times (diff)
downloadfrr-c6d94a705604c06f2241e2525bc2fbc2ee83bc80.tar.xz
frr-c6d94a705604c06f2241e2525bc2fbc2ee83bc80.zip
*: zebra.h should not have fcntl.h
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/kernel_netlink.c1
-rw-r--r--zebra/netconf_netlink.c1
-rw-r--r--zebra/zebra_netns_id.c1
-rw-r--r--zebra/zebra_netns_notify.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c
index a05f2d3ed..8a64a1ea4 100644
--- a/zebra/kernel_netlink.c
+++ b/zebra/kernel_netlink.c
@@ -4,6 +4,7 @@
*/
#include <zebra.h>
+#include <fcntl.h>
#ifdef HAVE_NETLINK
#include <linux/netlink.h>
diff --git a/zebra/netconf_netlink.c b/zebra/netconf_netlink.c
index 9a0b3c5d0..002d2c7bf 100644
--- a/zebra/netconf_netlink.c
+++ b/zebra/netconf_netlink.c
@@ -6,6 +6,7 @@
* Donald Sharp
*/
#include <zebra.h>
+#include <fcntl.h>
#ifdef HAVE_NETLINK /* Netlink OSes only */
diff --git a/zebra/zebra_netns_id.c b/zebra/zebra_netns_id.c
index a37d8b41d..1af3a3e85 100644
--- a/zebra/zebra_netns_id.c
+++ b/zebra/zebra_netns_id.c
@@ -6,6 +6,7 @@
#include <zebra.h>
#include <sys/stat.h>
+#include <fcntl.h>
#ifdef GNU_LINUX
#include <linux/if_link.h>
diff --git a/zebra/zebra_netns_notify.c b/zebra/zebra_netns_notify.c
index 4260d29c4..1bb1292e3 100644
--- a/zebra/zebra_netns_notify.c
+++ b/zebra/zebra_netns_notify.c
@@ -5,6 +5,7 @@
*/
#include <zebra.h>
+#include <fcntl.h>
#ifdef HAVE_NETLINK
#ifdef HAVE_NETNS