From 609197fd28c06124780de45e70e1d94854212e99 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 5 Jul 2014 13:22:32 -0600 Subject: [PATCH] NET: Fix another header file inclusion problem. Plus renaming of an unused macro --- include/nuttx/net/ip.h | 2 +- include/nuttx/net/pkt.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/nuttx/net/ip.h b/include/nuttx/net/ip.h index 5d44149a7c..f31768e867 100644 --- a/include/nuttx/net/ip.h +++ b/include/nuttx/net/ip.h @@ -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)); \ diff --git a/include/nuttx/net/pkt.h b/include/nuttx/net/pkt.h index 1b38e02c4d..55e04db515 100644 --- a/include/nuttx/net/pkt.h +++ b/include/nuttx/net/pkt.h @@ -47,6 +47,8 @@ #include #include +#include + #include /****************************************************************************