zephyr/include/posix
Paul Sokolovsky 3a4553913e posix: struct timespec: Move definition to sys/_timespec.h
POSIX subsys defines struct timespec in <time.h> (as POSIX public
API requires), but newlib defines in in sys/_timespec.h, which
inevitably leads to inclusion order and redifinition conflicts.
Follow newlib way and define it in single place, sys/_timespec.h,
which belongs to libc namespace. Thus, we move current definition
to minimal libc, and will use either minlibc's or newlib's
definition, instead of trying to redefine it.

This is similar to the introduction of sys/_timeval.h done earlier.

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: struct timespec: Move definition to sys/_timespec.h 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