Added missing includes for modules that rely on RPL

This commit is contained in:
Simon Duquennoy 2017-12-10 13:06:53 -08:00
parent 229cec630c
commit f8ddf8c816
11 changed files with 36 additions and 0 deletions

View File

@ -44,6 +44,13 @@
#include "net/mac/tsch/tsch-log.h"
#include "net/routing/routing.h"
#if ROUTING_CONF_RPL_LITE
#include "net/routing/rpl-lite/rpl.h"
#elif ROUTING_CONF_RPL_CLASSIC
#include "net/routing/rpl-classic/rpl.h"
#include "net/routing/rpl-classic/rpl-ns.h"
#endif
#define DEBUG DEBUG_PRINT
#include "net/ipv6/uip-debug.h"

View File

@ -37,6 +37,11 @@
#include "contiki-net.h"
#include "net/routing/routing.h"
#include "net/ipv6/uip.h"
#if ROUTING_CONF_RPL_LITE
#include "net/routing/rpl-lite/rpl.h"
#elif ROUTING_CONF_RPL_CLASSIC
#include "net/routing/rpl-classic/rpl.h"
#endif
#include <string.h>
#include <stdio.h>

View File

@ -34,6 +34,7 @@
#include "contiki.h"
#include "net/ipv6/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "net/routing/routing.h"
#include "coap-engine.h"
#include "sys/ctimer.h"
#include <stdio.h>

View File

@ -35,6 +35,7 @@
#include "contiki.h"
#include "net/ipv6/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "net/routing/routing.h"
#include "coap-engine.h"
#include "light-sensor.h"
#include "ht-sensor.h"

View File

@ -34,6 +34,7 @@
#include "contiki.h"
#include "net/ipv6/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "net/routing/routing.h"
#include "coap-engine.h"
#include "dev/leds.h"
#include "button-sensor.h"

View File

@ -33,6 +33,7 @@
*/
#include "contiki.h"
#include "net/ipv6/uip-ds6.h"
#include "net/routing/routing.h"
#include "net/netstack.h"
#include "net/ipv6/uip.h"
#include "net/linkaddr.h"

View File

@ -34,6 +34,7 @@
#include "contiki.h"
#include "net/ipv6/uip-ds6.h"
#include "net/ipv6/uip.h"
#include "net/routing/routing.h"
#include "net/linkaddr.h"
#include "coap-engine.h"
#include "sys/ctimer.h"

View File

@ -37,6 +37,7 @@
#include "net/routing/rpl-lite/rpl.h"
#elif ROUTING_CONF_RPL_CLASSIC
#include "net/routing/rpl-classic/rpl.h"
#include "net/routing/rpl-classic/rpl-ns.h"
#endif
#include <stdio.h>

View File

@ -51,6 +51,13 @@
#include "net/mac/tsch/tsch-log.h"
#include "net/mac/tsch/tsch-rpl.h"
#if ROUTING_CONF_RPL_LITE
#include "net/routing/rpl-lite/rpl.h"
#elif ROUTING_CONF_RPL_CLASSIC
#include "net/routing/rpl-classic/rpl.h"
#include "net/routing/rpl-classic/rpl-private.h"
#endif
/* Log configuration */
#include "sys/log.h"
#define LOG_MODULE "TSCH RPL"

View File

@ -41,6 +41,11 @@
#include "net/packetbuf.h"
#include "net/ipv6/uip-icmp6.h"
#include "net/routing/routing.h"
#if ROUTING_CONF_RPL_LITE
#include "net/routing/rpl-lite/rpl.h"
#elif ROUTING_CONF_RPL_CLASSIC
#include "net/routing/rpl-classic/rpl.h"
#endif
#define DEBUG DEBUG_PRINT
#include "net/ipv6/uip-debug.h"

View File

@ -37,6 +37,12 @@
#include "net/ipv6/uip.h"
#include <string.h>
#if ROUTING_CONF_RPL_LITE
#include "net/routing/rpl-lite/rpl.h"
#elif ROUTING_CONF_RPL_CLASSIC
#include "net/routing/rpl-classic/rpl.h"
#endif
#define DEBUG DEBUG_FULL
#include "net/ipv6/uip-debug.h"