summaryrefslogtreecommitdiff
path: root/apps/examples/thttpd
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/examples/thttpd
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/examples/thttpd')
-rw-r--r--apps/examples/thttpd/content/netstat/netstat.c2
-rw-r--r--apps/examples/thttpd/thttpd_main.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/thttpd/content/netstat/netstat.c b/apps/examples/thttpd/content/netstat/netstat.c
index 19c8ca871..133831c4a 100644
--- a/apps/examples/thttpd/content/netstat/netstat.c
+++ b/apps/examples/thttpd/content/netstat/netstat.c
@@ -43,7 +43,9 @@
#include <stdlib.h>
#include <unistd.h>
+#include <netinet/in.h>
#include <netinet/ether.h>
+
#include <nuttx/net/netconfig.h>
#include <nuttx/net/netdev.h>
diff --git a/apps/examples/thttpd/thttpd_main.c b/apps/examples/thttpd/thttpd_main.c
index e847ebad3..c2e6325a7 100644
--- a/apps/examples/thttpd/thttpd_main.c
+++ b/apps/examples/thttpd/thttpd_main.c
@@ -49,6 +49,8 @@
#include <debug.h>
#include <net/if.h>
+#include <arpa/inet.h>
+#include <netinet/in.h>
#include <netinet/ether.h>
#include <nuttx/net/arp.h>