Skip to content

Commit

Permalink
add missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedSeliem committed Dec 4, 2016
1 parent 82b5fb5 commit 452666b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/avr-rss2/ipv6/dc-rpl-coap/coap-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "contiki-lib.h"
#include "contiki-net.h"
#include "net/ip/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "net/rpl/rpl.h"

#include "net/netstack.h"
Expand Down
1 change: 1 addition & 0 deletions examples/avr-rss2/ipv6/rpl-udp-report/sink.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "contiki-lib.h"
#include "contiki-net.h"
#include "net/ip/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "net/rpl/rpl.h"

#include "net/netstack.h"
Expand Down
2 changes: 1 addition & 1 deletion examples/avr-rss2/ipv6/sensd_client/sensd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static void
set_global_address(void)
{
uip_ipaddr_t ipaddr;
uip_ip6addr(&ipaddr, UIP_DS6_DEFAULT_PREFIX, 0, 0, 0, 0, 0, 0, 0);
uip_ip6addr(&ipaddr, 0xfd00, 0, 0, 0, 0, 0, 0, 0);
uip_ds6_set_addr_iid(&ipaddr, &uip_lladdr);
uip_ds6_addr_add(&ipaddr, 0, ADDR_AUTOCONF);
}
Expand Down
2 changes: 1 addition & 1 deletion examples/avr-rss2/ipv6/sensd_client/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static void
set_global_address(void)
{
uip_ipaddr_t ipaddr;
uip_ip6addr(&ipaddr, UIP_DS6_DEFAULT_PREFIX, 0, 0, 0, 0, 0, 0, 0);
uip_ip6addr(&ipaddr, 0xfd00, 0, 0, 0, 0, 0, 0, 0);
uip_ds6_set_addr_iid(&ipaddr, &uip_lladdr);
uip_ds6_addr_add(&ipaddr, 0, ADDR_AUTOCONF);
}
Expand Down

0 comments on commit 452666b

Please sign in to comment.