Fix sys/stat.h to declare __need_timespec for __USE_XOPEN2K8

If __USE_XOPEN2K8 is set, stat.h declares a function with a signature
that includes a timespec, but does *not* declare __need_timespec, so
compilation will fail. The reason this has snuck by until now is that if
the POSIX standard is left as default another code path will add
__need_timespec instead.

Bug: 31575857

Change-Id: I4d40ef42089adda73b51e7c8f540d26da16d2164
224 files changed
tree: 27c04a689451cb47a6791c8a6c7d0214582ce0b4
  1. Build.Info/
  2. bin/
  3. usr/