[PATCH 10/29] libnetworking: Fix unknown struct ifnet and ifaddr.'

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Apr 25 15:06:44 UTC 2016


From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>

---
 cpukit/libnetworking/net/rtsock.c             | 1 +
 cpukit/libnetworking/netinet/ip_fw.c          | 1 +
 cpukit/libnetworking/netinet/tcp_input.c      | 1 +
 cpukit/libnetworking/rtems/rtems_showifstat.c | 1 +
 cpukit/libnetworking/rtems/rtems_showroute.c  | 1 +
 5 files changed, 5 insertions(+)

diff --git a/cpukit/libnetworking/net/rtsock.c b/cpukit/libnetworking/net/rtsock.c
index 5a03122..c6b6d11 100644
--- a/cpukit/libnetworking/net/rtsock.c
+++ b/cpukit/libnetworking/net/rtsock.c
@@ -48,6 +48,7 @@
 #include <sys/protosw.h>
 
 #include <net/if.h>
+#include <rtems/rtems_net_if.h>
 #include <net/route.h>
 #include <net/raw_cb.h>
 
diff --git a/cpukit/libnetworking/netinet/ip_fw.c b/cpukit/libnetworking/netinet/ip_fw.c
index 4b00596..3ee8697 100644
--- a/cpukit/libnetworking/netinet/ip_fw.c
+++ b/cpukit/libnetworking/netinet/ip_fw.c
@@ -35,6 +35,7 @@
 #include <sys/time.h>
 #include <sys/sysctl.h>
 #include <net/if.h>
+#include <rtems/rtems_net_if.h>
 #include <net/route.h>
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
diff --git a/cpukit/libnetworking/netinet/tcp_input.c b/cpukit/libnetworking/netinet/tcp_input.c
index de4981d..bbd1b16 100644
--- a/cpukit/libnetworking/netinet/tcp_input.c
+++ b/cpukit/libnetworking/netinet/tcp_input.c
@@ -52,6 +52,7 @@
 #include <machine/cpu.h>	/* before tcp_seq.h, for tcp_random18() */
 
 #include <net/if.h>
+#include <rtems/rtems_net_if.h>
 #include <net/route.h>
 
 #include <netinet/in.h>
diff --git a/cpukit/libnetworking/rtems/rtems_showifstat.c b/cpukit/libnetworking/rtems/rtems_showifstat.c
index 7b53328..467bbab 100644
--- a/cpukit/libnetworking/rtems/rtems_showifstat.c
+++ b/cpukit/libnetworking/rtems/rtems_showifstat.c
@@ -12,6 +12,7 @@
 #include <sys/ioctl.h>
 #include <sys/mbuf.h>
 #include <net/if.h>
+#include <rtems/rtems_net_if.h>
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #include <netinet/in.h>
diff --git a/cpukit/libnetworking/rtems/rtems_showroute.c b/cpukit/libnetworking/rtems/rtems_showroute.c
index 44b4c3b..563887f 100644
--- a/cpukit/libnetworking/rtems/rtems_showroute.c
+++ b/cpukit/libnetworking/rtems/rtems_showroute.c
@@ -14,6 +14,7 @@
 #include <sys/domain.h>
 
 #include <net/if.h>
+#include <rtems/rtems_net_if.h>
 #include <net/if_dl.h>
 #include <net/route.h>
 
-- 
1.8.4.5




More information about the devel mailing list