include: posix: time: Explicitly include from <posix/...>
Some ports, e.g. nios2, have POSIXish headers (e.g. signal.h) in their toolchains, which get includeded otherwise, and cause definition conflicts. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
475327f5a3
commit
14ddff2457
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ struct timeval {
|
|||
#include <kernel.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#include <posix/signal.h>
|
||||
|
||||
#ifndef CLOCK_REALTIME
|
||||
#define CLOCK_REALTIME 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue