From 3285efc508064d44b60120ffe903c13184482869 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 4 Jul 2014 19:13:08 -0600 Subject: NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. --- apps/nshlib/nsh_mntcmds.c | 3 +++ apps/nshlib/nsh_netcmds.c | 5 ++++- apps/nshlib/nsh_netinit.c | 2 ++ apps/nshlib/nsh_routecmds.c | 3 +++ apps/nshlib/nsh_telnetd.c | 2 ++ 5 files changed, 14 insertions(+), 1 deletion(-) (limited to 'apps/nshlib') diff --git a/apps/nshlib/nsh_mntcmds.c b/apps/nshlib/nsh_mntcmds.c index de40c8e6c..584c1258a 100644 --- a/apps/nshlib/nsh_mntcmds.c +++ b/apps/nshlib/nsh_mntcmds.c @@ -50,6 +50,9 @@ #include #include +#include +#include + #include #include "nsh.h" diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c index c5834f55c..93ed13237 100644 --- a/apps/nshlib/nsh_netcmds.c +++ b/apps/nshlib/nsh_netcmds.c @@ -55,12 +55,15 @@ #include #include +#include +#include #include -#include #include +#include #include #include +#include #if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ !defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS) diff --git a/apps/nshlib/nsh_netinit.c b/apps/nshlib/nsh_netinit.c index b59eaf571..ec502e796 100644 --- a/apps/nshlib/nsh_netinit.c +++ b/apps/nshlib/nsh_netinit.c @@ -45,6 +45,8 @@ #include #include +#include +#include #include #if defined(CONFIG_NSH_DHCPC) || defined(CONFIG_NSH_DNS) diff --git a/apps/nshlib/nsh_routecmds.c b/apps/nshlib/nsh_routecmds.c index 5ca96a5f4..b8a6c4784 100644 --- a/apps/nshlib/nsh_routecmds.c +++ b/apps/nshlib/nsh_routecmds.c @@ -43,6 +43,9 @@ #include #include +#include +#include + #include #include "nsh.h" diff --git a/apps/nshlib/nsh_telnetd.c b/apps/nshlib/nsh_telnetd.c index 61a196601..bbb0393f7 100644 --- a/apps/nshlib/nsh_telnetd.c +++ b/apps/nshlib/nsh_telnetd.c @@ -45,6 +45,8 @@ #include #include +#include + #include #include "nsh.h" -- cgit v1.2.3