summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h2
-rw-r--r--cpukit/libnetworking/rtems/rtems_dhcp.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_glue.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_showifstat.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
index fffe1b2e21..9608996078 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
@@ -35,7 +35,7 @@ typedef __uintptr_t vm_size_t;
#include <sys/cdefs.h>
#include <sys/time.h>
-#include <sys/ioctl.h>
+#include <sys/ioccom.h>
struct mdproc {
int md_flags;
diff --git a/cpukit/libnetworking/rtems/rtems_dhcp.c b/cpukit/libnetworking/rtems/rtems_dhcp.c
index 74ea870497..5f5515c847 100644
--- a/cpukit/libnetworking/rtems/rtems_dhcp.c
+++ b/cpukit/libnetworking/rtems/rtems_dhcp.c
@@ -82,7 +82,7 @@
#include <stdlib.h>
#include <unistd.h>
-#include <sys/ioctl.h>
+#include <sys/sockio.h>
#include <sys/param.h> /* for MAXHOSTNAMELEN */
#include <sys/systm.h>
#include <sys/socketvar.h> /* for socreat() soclose() */
diff --git a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c
index 46a411bc55..acdec137fc 100644
--- a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c
+++ b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c
@@ -63,7 +63,7 @@
#include <rtems/rtems_dhcp_failsafe.h>
struct proc; /* Unused parameter of some functions. */
-#include <sys/ioctl.h>
+#include <sys/sockio.h>
#include <sys/socket.h>
#include <net/route.h>
#include <netinet/in.h> /* for sockaddr_in */
diff --git a/cpukit/libnetworking/rtems/rtems_glue.c b/cpukit/libnetworking/rtems/rtems_glue.c
index ac75fb0b5d..939b858dc7 100644
--- a/cpukit/libnetworking/rtems/rtems_glue.c
+++ b/cpukit/libnetworking/rtems/rtems_glue.c
@@ -24,7 +24,7 @@
#include <sys/sockio.h>
#include <sys/callout.h>
#include <sys/proc.h>
-#include <sys/ioctl.h>
+#include <sys/sockio.h>
#include <sys/systm.h>
#include <net/if.h>
#include <net/route.h>
diff --git a/cpukit/libnetworking/rtems/rtems_showifstat.c b/cpukit/libnetworking/rtems/rtems_showifstat.c
index 2e06a8ce5c..a936cf7458 100644
--- a/cpukit/libnetworking/rtems/rtems_showifstat.c
+++ b/cpukit/libnetworking/rtems/rtems_showifstat.c
@@ -9,7 +9,7 @@
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/socket.h>
-#include <sys/ioctl.h>
+#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <net/if.h>
#include <net/if_dl.h>