aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/bits/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/bits/shm.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/shm.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/shm.h b/sysdeps/unix/sysv/linux/powerpc/bits/shm.h
index 33b918f2a6..5316f0985b 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/shm.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/shm.h
@@ -47,13 +47,21 @@ typedef unsigned long int shmatt_t;
struct shmid_ds
{
struct ipc_perm shm_perm; /* operation permission struct */
+#if __WORDSIZE == 32
unsigned int __unused1;
+#endif
__time_t shm_atime; /* time of last shmat() */
+#if __WORDSIZE == 32
unsigned int __unused2;
+#endif
__time_t shm_dtime; /* time of last shmdt() */
+#if __WORDSIZE == 32
unsigned int __unused3;
- __time_t shm_ctime; /* time of last change by shmctl() */
+#endif
+ __time_t shm_ctime; /* time of last change by shmctl() */
+#if __WORDSIZE == 32
unsigned int __unused4;
+#endif
size_t shm_segsz; /* size of segment in bytes */
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */