mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
stat.h: Fix missing declaration of struct timespec
When building with e.g. -std=c99 and _ATFILE_SOURCE, stat.h was missing including bits/types/struct_timespec.h to get the struct timespec declaration for utimensat.
This commit is contained in:
parent
d2e65aa7d6
commit
7b544224f8
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <bits/types.h> /* For __mode_t and __dev_t. */
|
#include <bits/types.h> /* For __mode_t and __dev_t. */
|
||||||
|
|
||||||
#ifdef __USE_XOPEN2K8
|
#if defined(__USE_ATFILE) || defined(__USE_XOPEN2K8)
|
||||||
# include <bits/types/struct_timespec.h>
|
# include <bits/types/struct_timespec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user