summaryrefslogtreecommitdiff
path: root/nuttx/examples/wget/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples/wget/target.c')
-rw-r--r--nuttx/examples/wget/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/wget/target.c b/nuttx/examples/wget/target.c
index 9d3476964..c135a1d57 100644
--- a/nuttx/examples/wget/target.c
+++ b/nuttx/examples/wget/target.c
@@ -39,7 +39,7 @@
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdint.h>
#include <unistd.h>
#include <netinet/in.h>
@@ -124,7 +124,7 @@ int user_start(int argc, char *argv[])
{
struct in_addr addr;
#if defined(CONFIG_EXAMPLE_WGET_NOMAC)
- uint8 mac[IFHWADDRLEN];
+ uint8_t mac[IFHWADDRLEN];
#endif
/* Many embedded network interfaces must have a software assigned MAC */