summaryrefslogtreecommitdiff
path: root/apps/examples/udp/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/udp/target.c')
-rw-r--r--apps/examples/udp/target.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/examples/udp/target.c b/apps/examples/udp/target.c
index 8b31fc8cd..ac76aec00 100644
--- a/apps/examples/udp/target.c
+++ b/apps/examples/udp/target.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * examples/udp/nettest.c
+ * examples/udp/target.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -41,6 +41,9 @@
#include <stdio.h>
#include <debug.h>
+#include <arpa/inet.h>
+#include <netinet/in.h>
+
#include <apps/netutils/netlib.h>
#include "udp-internal.h"