summaryrefslogtreecommitdiff
path: root/apps/netutils/tftpc
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/netutils/tftpc
parent9359459245f11e94dee418e424e44f598bc04039 (diff)
downloadnuttx-3285efc508064d44b60120ffe903c13184482869.tar.gz
nuttx-3285efc508064d44b60120ffe903c13184482869.tar.bz2
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/netutils/tftpc')
-rw-r--r--apps/netutils/tftpc/tftpc_get.c2
-rw-r--r--apps/netutils/tftpc/tftpc_packets.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/netutils/tftpc/tftpc_get.c b/apps/netutils/tftpc/tftpc_get.c
index 3847b2aad..4a4789c05 100644
--- a/apps/netutils/tftpc/tftpc_get.c
+++ b/apps/netutils/tftpc/tftpc_get.c
@@ -49,6 +49,8 @@
#include <errno.h>
#include <debug.h>
+#include <arpa/inet.h>
+
#include <nuttx/net/netconfig.h>
#include <apps/netutils/tftp.h>
diff --git a/apps/netutils/tftpc/tftpc_packets.c b/apps/netutils/tftpc/tftpc_packets.c
index f2f1a0a22..8775ca3a2 100644
--- a/apps/netutils/tftpc/tftpc_packets.c
+++ b/apps/netutils/tftpc/tftpc_packets.c
@@ -50,6 +50,7 @@
#include <debug.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <nuttx/net/netconfig.h>
#include <apps/netutils/tftp.h>