diff options
author | Donald Sharp <sharpd@nvidia.com> | 2024-01-04 20:42:17 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2024-01-04 20:42:17 +0100 |
commit | 2700519cb3ef9f85b7395a7c781fd5fa48a5570a (patch) | |
tree | dc119a10ac486dabb242474850612b28c5ef87bb /zebra | |
parent | lib, vtysh: Remove inclusion of grp.h for everyone (diff) | |
download | frr-2700519cb3ef9f85b7395a7c781fd5fa48a5570a.tar.xz frr-2700519cb3ef9f85b7395a7c781fd5fa48a5570a.zip |
*: Remove sys/ioctl.h from zebra.h
Practically no-one uses this and ioctls are pretty much
wrappered. Further wrappering could make this even better.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/if_ioctl.c | 1 | ||||
-rw-r--r-- | zebra/ioctl.c | 2 | ||||
-rw-r--r-- | zebra/zebra_mpls_openbsd.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/zebra/if_ioctl.c b/zebra/if_ioctl.c index b3cf86512..d0aa2167f 100644 --- a/zebra/if_ioctl.c +++ b/zebra/if_ioctl.c @@ -5,6 +5,7 @@ */ #include <zebra.h> +#include <sys/ioctl.h> #ifdef OPEN_BSD diff --git a/zebra/ioctl.c b/zebra/ioctl.c index 8da1ae37c..a35784cd3 100644 --- a/zebra/ioctl.c +++ b/zebra/ioctl.c @@ -6,6 +6,8 @@ #include <zebra.h> +#include <sys/ioctl.h> + #include "linklist.h" #include "if.h" #include "prefix.h" diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c index a696275a9..2a3ccc806 100644 --- a/zebra/zebra_mpls_openbsd.c +++ b/zebra/zebra_mpls_openbsd.c @@ -4,6 +4,7 @@ */ #include <zebra.h> +#include <sys/ioctl.h> #ifdef OPEN_BSD |