diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-08-09 06:16:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-08-09 06:16:02 +0200 |
commit | 354129807db12c792696b74d0cd38f2c5d2fd704 (patch) | |
tree | 794418cf9c838bba6ccbe0caa788523e0742df5c /libc/sysdeps/linux/sparc64/bits/stat.h | |
parent | d3f81bd1dcf63c10f0d47a87ef4373cc9e1e749b (diff) |
bits/stat.h: Declare st_mtim if defined(__USE_XOPEN2K8), add missing
d0c8c185b439187b12644457bb2aa0326f25aaf7 was not complete, add
missing architectures.
Diffstat (limited to 'libc/sysdeps/linux/sparc64/bits/stat.h')
-rw-r--r-- | libc/sysdeps/linux/sparc64/bits/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc64/bits/stat.h b/libc/sysdeps/linux/sparc64/bits/stat.h index 8516b159c..62b48b745 100644 --- a/libc/sysdeps/linux/sparc64/bits/stat.h +++ b/libc/sysdeps/linux/sparc64/bits/stat.h @@ -58,7 +58,7 @@ struct stat #else __blkcnt64_t st_blocks; /* Number 512-byte blocks allocated. */ #endif -#ifdef __USE_MISC +#if defined(__USE_MISC) || defined(__USE_XOPEN2K8) /* Nanosecond resolution timestamps are stored in a format equivalent to 'struct timespec'. This is the type used whenever possible but the Unix namespace rules do not allow the @@ -101,7 +101,7 @@ struct stat64 __blksize_t st_blksize; /* Optimal block size for I/O. */ __blkcnt64_t st_blocks; /* Number 512-byte blocks allocated. */ -#ifdef __USE_MISC +#if defined(__USE_MISC) || defined(__USE_XOPEN2K8) /* Nanosecond resolution timestamps are stored in a format equivalent to 'struct timespec'. This is the type used whenever possible but the Unix namespace rules do not allow the |