NET: Fix another header file inclusion problem. Plus renaming of an unused macro

This commit is contained in:
Gregory Nutt 2014-07-05 13:22:32 -06:00
parent c5fc24e110
commit 609197fd28
2 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,7 @@ struct net_iphdr_s
* This function constructs an IPv6 address.
*/
#define uip_ip6addr(addr, addr0,addr1,addr2,addr3,addr4,addr5,addr6,addr7) \
#define ip6_addr(addr, addr0,addr1,addr2,addr3,addr4,addr5,addr6,addr7) \
do { \
((uint16_t*)(addr))[0] = HTONS((addr0)); \
((uint16_t*)(addr))[1] = HTONS((addr1)); \

View File

@ -47,6 +47,8 @@
#include <nuttx/config.h>
#include <stdint.h>
#include <queue.h>
#include <nuttx/net/netconfig.h>
/****************************************************************************