mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
* io/sys/stat.h: Make sure struct timespec is defined for
__USE_ATFILE.
This commit is contained in:
parent
c27d207813
commit
f9bf102dd6
@ -1,5 +1,8 @@
|
||||
2007-05-10 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* io/sys/stat.h: Make sure struct timespec is defined for
|
||||
__USE_ATFILE.
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and
|
||||
UTIME_OMIT.
|
||||
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
|
||||
|
@ -28,11 +28,12 @@
|
||||
|
||||
#include <bits/types.h> /* For __mode_t and __dev_t. */
|
||||
|
||||
#if defined __USE_XOPEN || defined __USE_XOPEN2K || defined __USE_MISC
|
||||
#if defined __USE_XOPEN || defined __USE_XOPEN2K || defined __USE_MISC \
|
||||
|| __USE_ATFILE
|
||||
# if defined __USE_XOPEN || defined __USE_XOPEN2K
|
||||
# define __need_time_t
|
||||
# endif
|
||||
# ifdef __USE_MISC
|
||||
# if defined __USE_MISC || defined __USE_ATFILE
|
||||
# define __need_timespec
|
||||
# endif
|
||||
# include <time.h> /* For time_t resp. timespec. */
|
||||
|
Loading…
Reference in New Issue
Block a user