zephyr/include/posix
Paul Sokolovsky 15a9709186 posix: time.h: Add workaround for outdated newlib used by Xtensa
Unfortunately, Zephyr SDK 0.10.0 ships with outdated Newlib 2.0.0
(from 2015 or earlier) which lacks sys/_timespec.h header, requiring
ugly workaround of defining struct timespec inline (the whole idea
was to standardize on sys/_timespec.h header for different libc's).

This is similar to earlier workaround for struct timeval definition
introduced in a6aee9b4c8. Zephyr SDK ticket for this issue
is https://github.com/zephyrproject-rtos/sdk-ng/issues/64, and it
will ve possible to remove both workarounds when Xtensa toolchain
will be upgraded to newlib version consistent with other
architectures.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-07-25 13:50:58 -04:00
..
sys posix: Move sys/stat.h to minimal libc 2019-07-25 13:50:58 -04:00
dirent.h cleanup: include/: move fs.h to fs/fs.h 2019-06-27 22:55:49 -04:00
mqueue.h lib: posix: Fix compile error with mqueue.h 2019-02-23 11:42:31 -06:00
posix_sched.h posix: rename priority in sched_param struct 2019-02-19 11:24:45 -05:00
posix_types.h lib: posix: Fix compile issue with newer newlib 2019-02-22 11:55:01 -06:00
pthread.h PTHREAD_MUTEX_DEFINE(): don't store into the _k_mutex section 2019-06-04 09:24:08 -04:00
pthread_key.h cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
semaphore.h lib: posix: Fix compile issue with newer newlib 2019-02-22 11:55:01 -06:00
signal.h lib: posix: Fix compile issue with newer newlib 2019-02-22 11:55:01 -06:00
time.h posix: time.h: Add workaround for outdated newlib used by Xtensa 2019-07-25 13:50:58 -04:00
unistd.h cleanup: include/: move fs.h to fs/fs.h 2019-06-27 22:55:49 -04:00