summaryrefslogtreecommitdiffstats
path: root/nhrpd
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 /nhrpd
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 'nhrpd')
-rw-r--r--nhrpd/linux.c1
-rw-r--r--nhrpd/vici.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/nhrpd/linux.c b/nhrpd/linux.c
index 2a255c435..b25df9ff2 100644
--- a/nhrpd/linux.c
+++ b/nhrpd/linux.c
@@ -5,6 +5,7 @@
#include "zebra.h"
+#include <fcntl.h>
#include <errno.h>
#include <linux/if_packet.h>
#include <sys/ioctl.h>
diff --git a/nhrpd/vici.c b/nhrpd/vici.c
index 2f7636260..8162ac06a 100644
--- a/nhrpd/vici.c
+++ b/nhrpd/vici.c
@@ -10,6 +10,7 @@
#include <string.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <fcntl.h>
#include "frrevent.h"
#include "zbuf.h"