commit | f0dcd7f7efd6f7b917902cadf4d492dcb3676093 | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@google.com> | Mon Sep 19 10:28:20 2016 -0400 |
committer | Stephen McGruer <smcgruer@google.com> | Wed Sep 21 09:37:04 2016 -0400 |
tree | 27c04a689451cb47a6791c8a6c7d0214582ce0b4 | |
parent | 8de23b38d01176b71345861e51063957995966e0 [diff] |
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