diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-04 19:13:08 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-04 19:13:08 -0600 |
commit | 3285efc508064d44b60120ffe903c13184482869 (patch) | |
tree | 3844c1fb247d2e5d8de17b4f390b78ed19e26c65 /apps/nshlib | |
parent | 9359459245f11e94dee418e424e44f598bc04039 (diff) | |
download | px4-nuttx-3285efc508064d44b60120ffe903c13184482869.tar.gz px4-nuttx-3285efc508064d44b60120ffe903c13184482869.tar.bz2 px4-nuttx-3285efc508064d44b60120ffe903c13184482869.zip |
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.
Diffstat (limited to 'apps/nshlib')
-rw-r--r-- | apps/nshlib/nsh_mntcmds.c | 3 | ||||
-rw-r--r-- | apps/nshlib/nsh_netcmds.c | 5 | ||||
-rw-r--r-- | apps/nshlib/nsh_netinit.c | 2 | ||||
-rw-r--r-- | apps/nshlib/nsh_routecmds.c | 3 | ||||
-rw-r--r-- | apps/nshlib/nsh_telnetd.c | 2 |
5 files changed, 14 insertions, 1 deletions
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 <errno.h> #include <debug.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #include <nuttx/fs/nfs.h> #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 <net/ethernet.h> #include <net/if.h> +#include <arpa/inet.h> +#include <netinet/in.h> #include <netinet/ether.h> -#include <nuttx/net/net.h> #include <nuttx/clock.h> +#include <nuttx/net/net.h> #include <nuttx/net/netdev.h> #include <nuttx/net/netstats.h> +#include <nuttx/net/ip.h> #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 <debug.h> #include <net/if.h> +#include <arpa/inet.h> +#include <netinet/in.h> #include <apps/netutils/netlib.h> #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 <string.h> #include <net/route.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #include <apps/netutils/netlib.h> #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 <debug.h> #include <string.h> +#include <arpa/inet.h> + #include <apps/netutils/telnetd.h> #include "nsh.h" |