summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bfdd/bfd_packet.c1
-rw-r--r--lib/pullwr.c2
-rw-r--r--lib/vrf.c1
-rw-r--r--lib/zebra.h1
-rw-r--r--nhrpd/linux.c1
-rw-r--r--pimd/pim_cmd_common.c1
-rw-r--r--pimd/pim_mroute.c1
-rw-r--r--zebra/if_ioctl.c1
-rw-r--r--zebra/ioctl.c2
-rw-r--r--zebra/zebra_mpls_openbsd.c1
10 files changed, 11 insertions, 1 deletions
diff --git a/bfdd/bfd_packet.c b/bfdd/bfd_packet.c
index f2596dfc3..fec195c77 100644
--- a/bfdd/bfd_packet.c
+++ b/bfdd/bfd_packet.c
@@ -12,6 +12,7 @@
*/
#include <zebra.h>
+#include <sys/ioctl.h>
#ifdef GNU_LINUX
#include <linux/filter.h>
diff --git a/lib/pullwr.c b/lib/pullwr.c
index 3967eb587..919a663db 100644
--- a/lib/pullwr.c
+++ b/lib/pullwr.c
@@ -6,6 +6,8 @@
#include "zebra.h"
+#include <sys/ioctl.h>
+
#include "pullwr.h"
#include "memory.h"
#include "monotime.h"
diff --git a/lib/vrf.c b/lib/vrf.c
index 5537f7125..48071f2bd 100644
--- a/lib/vrf.c
+++ b/lib/vrf.c
@@ -5,6 +5,7 @@
*/
#include <zebra.h>
+#include <sys/ioctl.h>
#include "if.h"
#include "vrf.h"
diff --git a/lib/zebra.h b/lib/zebra.h
index f7b7a63a4..e68cb3320 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -36,7 +36,6 @@
#include <sys/sysctl.h>
#endif
#endif /* HAVE_SYS_SYSCTL_H */
-#include <sys/ioctl.h>
#ifdef HAVE_SYS_CONF_H
#include <sys/conf.h>
#endif /* HAVE_SYS_CONF_H */
diff --git a/nhrpd/linux.c b/nhrpd/linux.c
index eb9816687..2a255c435 100644
--- a/nhrpd/linux.c
+++ b/nhrpd/linux.c
@@ -7,6 +7,7 @@
#include <errno.h>
#include <linux/if_packet.h>
+#include <sys/ioctl.h>
#include "nhrp_protocol.h"
#include "os.h"
diff --git a/pimd/pim_cmd_common.c b/pimd/pim_cmd_common.c
index 1ea79a10e..59addd48c 100644
--- a/pimd/pim_cmd_common.c
+++ b/pimd/pim_cmd_common.c
@@ -6,6 +6,7 @@
*/
#include <zebra.h>
+#include <sys/ioctl.h>
#include "lib/json.h"
#include "command.h"
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index e1b861b45..e00888acf 100644
--- a/pimd/pim_mroute.c
+++ b/pimd/pim_mroute.c
@@ -6,6 +6,7 @@
#include <zebra.h>
#include <netinet/icmp6.h>
+#include <sys/ioctl.h>
#include "log.h"
#include "privs.h"
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