summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bits/shm.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-08-10 19:30:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-08-10 19:30:48 +0200
commit9a23a016ac45dd3bc5418cf36e6d1548cb41c6b5 (patch)
tree2bd61a388209966d56fb451a5b2a45fe4f4ef106 /libc/sysdeps/linux/arm/bits/shm.h
parent18ac9aedd53d0c80880e4498acd4f5fc1f3fac8f (diff)
Fix Sysvipc for ARM, AARCH64, RISCV64, KVX and m68k
Diffstat (limited to 'libc/sysdeps/linux/arm/bits/shm.h')
-rw-r--r--libc/sysdeps/linux/arm/bits/shm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/bits/shm.h b/libc/sysdeps/linux/arm/bits/shm.h
index 86245faff..aa1a72e54 100644
--- a/libc/sysdeps/linux/arm/bits/shm.h
+++ b/libc/sysdeps/linux/arm/bits/shm.h
@@ -49,12 +49,18 @@ struct shmid_ds
{
struct ipc_perm shm_perm; /* operation permission struct */
size_t shm_segsz; /* size of segment in bytes */
+#if defined(__UCLIBC_USE_TIME64__)
+ __time_t shm_atime;
+ __time_t shm_dtime;
+ __time_t shm_ctime;
+#else
__time_t shm_atime; /* time of last shmat() */
unsigned long int __uclibc_unused1;
__time_t shm_dtime; /* time of last shmdt() */
unsigned long int __uclibc_unused2;
__time_t shm_ctime; /* time of last change by shmctl() */
unsigned long int __uclibc_unused3;
+#endif
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */