net: Include only the necessary headers

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 <ivan.briano@intel.com>
This commit is contained in:
Iván Briano 2016-01-15 17:41:59 -02:00 committed by Gerrit Code Review
commit f24a02445e
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@
#include "contiki-conf.h"
#ifdef CONFIG_MICROKERNEL
#include <zephyr.h>
#include <microkernel.h>
#else
#include <nanokernel.h>
#endif

View file

@ -74,7 +74,7 @@
#define TIMER_H_
#ifdef CONFIG_MICROKERNEL
#include <zephyr.h>
#include <microkernel.h>
#else
#include <nanokernel.h>
#endif