Fix compile errors related to errno.h
Because errno.h is defined in terms of a syscall we can get into trouble when one syscall/<FOO.h> ends up include another syscall/<BAR.h>. Moving errno.h from kernel_includes.h to kernel.h breaks the possible inclusion issue on some ARM platforms (which arm_mpu.h ends up include soc.h which ends up include kernel_includes.h which would include errno.h). Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
97c06a7ab3
commit
8777ff1304
2 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,6 @@
|
|||
#include <toolchain.h>
|
||||
#include <linker/sections.h>
|
||||
#include <atomic.h>
|
||||
#include <errno.h>
|
||||
#include <misc/__assert.h>
|
||||
#include <sched_priq.h>
|
||||
#include <misc/dlist.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue