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/examples/nettest | |
parent | 9359459245f11e94dee418e424e44f598bc04039 (diff) | |
download | nuttx-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/nettest')
-rw-r--r-- | apps/examples/nettest/nettest.c | 3 | ||||
-rw-r--r-- | apps/examples/nettest/nettest.h | 2 | ||||
-rw-r--r-- | apps/examples/nettest/nettest_client.c | 2 | ||||
-rw-r--r-- | apps/examples/nettest/nettest_server.c | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/apps/examples/nettest/nettest.c b/apps/examples/nettest/nettest.c index b1596ec61..a24ce30f4 100644 --- a/apps/examples/nettest/nettest.c +++ b/apps/examples/nettest/nettest.c @@ -44,6 +44,9 @@ #include <debug.h> #include <net/if.h> +#include <arpa/inet.h> +#include <netinet/in.h> + #include <apps/netutils/netlib.h> #include "nettest.h" diff --git a/apps/examples/nettest/nettest.h b/apps/examples/nettest/nettest.h index 5021e05d6..c6ed3f1be 100644 --- a/apps/examples/nettest/nettest.h +++ b/apps/examples/nettest/nettest.h @@ -40,6 +40,8 @@ * Included Files ****************************************************************************/ +#include <arpa/inet.h> + #ifdef NETTEST_HOST #else # include <debug.h> diff --git a/apps/examples/nettest/nettest_client.c b/apps/examples/nettest/nettest_client.c index 8ab5b14d6..7686d0ac8 100644 --- a/apps/examples/nettest/nettest_client.c +++ b/apps/examples/nettest/nettest_client.c @@ -46,6 +46,8 @@ #include <string.h> #include <errno.h> +#include <arpa/inet.h> + #include "nettest.h" /**************************************************************************** diff --git a/apps/examples/nettest/nettest_server.c b/apps/examples/nettest/nettest_server.c index ffa021286..bdea83dc8 100644 --- a/apps/examples/nettest/nettest_server.c +++ b/apps/examples/nettest/nettest_server.c @@ -46,6 +46,8 @@ #include <unistd.h> #include <errno.h> +#include <arpa/inet.h> + #include "nettest.h" /**************************************************************************** |