libc: minimal: time.h: Don't (re)define struct timespec.

By the latest convention, libc's define struct timespec in
sys/_timespec.h. This is consistent with Newlib and ensures
about errors due to redefinitions.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2019-07-25 15:53:55 +03:00 committed by Kumar Gala
parent b7bb48eeac
commit 6b90a02bb4
1 changed files with 1 additions and 4 deletions

View File

@ -34,10 +34,7 @@ struct tm {
typedef int64_t time_t;
typedef int32_t suseconds_t;
struct timespec {
time_t tv_sec;
long tv_nsec;
};
#include <sys/_timespec.h>
/*
* Conversion between civil time and UNIX time. The companion