Commit 14ddff24 authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Anas Nashif
Browse files

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: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent 475327f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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