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/sendmail/host.c | |
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/sendmail/host.c')
-rw-r--r-- | apps/examples/sendmail/host.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/sendmail/host.c b/apps/examples/sendmail/host.c index d603372ad..28af0d53c 100644 --- a/apps/examples/sendmail/host.c +++ b/apps/examples/sendmail/host.c @@ -43,6 +43,9 @@ #include <string.h> #include <errno.h> +#include <netinet/in.h> + +#include <nuttx/net/ip.h> #include <apps/netutils/smtp.h> /**************************************************************************** @@ -99,5 +102,6 @@ int main(int argc, char **argv, char **envp) g_msg_body, strlen(g_msg_body)); smtp_close(handle); } + return 0; } |