Some older variants of newlib (like what we have on xtensa or riscv in SDK 0.9.5) define timespec and itimerspec in sys/types.h. The timespec can be handled by a check of __timespec_defined. However itimerspec doesn't have anything similar so we have to do it by newlib version info. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
|---|---|---|
| .. | ||
| sys | ||
| dirent.h | ||
| mqueue.h | ||
| posix_sched.h | ||
| posix_types.h | ||
| pthread_key.h | ||
| pthread.h | ||
| semaphore.h | ||
| signal.h | ||
| time.h | ||
| unistd.h | ||