diff options
Diffstat (limited to 'nuttx/examples/dhcpd/target.c')
-rw-r--r-- | nuttx/examples/dhcpd/target.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/examples/dhcpd/target.c b/nuttx/examples/dhcpd/target.c index 7e2104dd7..fd0579746 100644 --- a/nuttx/examples/dhcpd/target.c +++ b/nuttx/examples/dhcpd/target.c @@ -38,7 +38,8 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> + +#include <stdint.h> #include <netinet/in.h> #include <arpa/inet.h> #include <net/if.h> @@ -104,7 +105,7 @@ int user_start(int argc, char *argv[]) { struct in_addr addr; #if defined(CONFIG_EXAMPLE_DHCPD_NOMAC) - uint8 mac[IFHWADDRLEN]; + uint8_t mac[IFHWADDRLEN]; #endif /* Many embedded network interfaces must have a software assigned MAC */ |