summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_netcmds.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-04 19:13:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-04 19:13:08 -0600
commit3285efc508064d44b60120ffe903c13184482869 (patch)
tree3844c1fb247d2e5d8de17b4f390b78ed19e26c65 /apps/nshlib/nsh_netcmds.c
parent9359459245f11e94dee418e424e44f598bc04039 (diff)
downloadpx4-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/nsh_netcmds.c')
-rw-r--r--apps/nshlib/nsh_netcmds.c5
1 files changed, 4 insertions, 1 deletions
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)