From f24a02445ee74024a04589969a4bf22adc9feeff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Fri, 15 Jan 2016 17:41:59 -0200 Subject: [PATCH] net: Include only the necessary headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Including zephyr.h instead of microkernel.h will also bring in sysgen.h, which may not be available at the time these files are used during the build. Change-Id: I5e9e33a06a5877c6077bceebbab1bee6479fddc0 Signed-off-by: Iván Briano --- net/ip/contiki/os/sys/clock.h | 2 +- net/ip/contiki/os/sys/timer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ip/contiki/os/sys/clock.h b/net/ip/contiki/os/sys/clock.h index 543b3ba56a7..1c4830632a3 100644 --- a/net/ip/contiki/os/sys/clock.h +++ b/net/ip/contiki/os/sys/clock.h @@ -72,7 +72,7 @@ #include "contiki-conf.h" #ifdef CONFIG_MICROKERNEL -#include +#include #else #include #endif diff --git a/net/ip/contiki/os/sys/timer.h b/net/ip/contiki/os/sys/timer.h index 5dc34022025..1f496af186d 100644 --- a/net/ip/contiki/os/sys/timer.h +++ b/net/ip/contiki/os/sys/timer.h @@ -74,7 +74,7 @@ #define TIMER_H_ #ifdef CONFIG_MICROKERNEL -#include +#include #else #include #endif