about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-05 12:44:22 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-05 12:44:22 -0400
commit2f0ad8f3a470fa5e9aeb9c5a41984f96ae58d7ba (patch)
tree0643e7cffdbb11504f6397a1eadc2c16817ae7ff /sysdeps
parentad69cc2652c0422ebac3296d914c25e470498ce1 (diff)
downloadglibc-2f0ad8f3a470fa5e9aeb9c5a41984f96ae58d7ba.tar.gz
glibc-2f0ad8f3a470fa5e9aeb9c5a41984f96ae58d7ba.tar.xz
glibc-2f0ad8f3a470fa5e9aeb9c5a41984f96ae58d7ba.zip
Fix semid_ds for x86-64
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/bits/sem.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/sem.h b/sysdeps/unix/sysv/linux/x86_64/bits/sem.h
index 9b1d993ee5..7153e21431 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/sem.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/sem.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -40,9 +40,13 @@ struct semid_ds
 {
   struct ipc_perm sem_perm;		/* operation permission struct */
   __time_t sem_otime;			/* last semop() time */
+#if __WORDSIZE == 32
   unsigned long int __unused1;
+#endif
   __time_t sem_ctime;			/* last time changed by semctl() */
+#if __WORDSIZE == 32
   unsigned long int __unused2;
+#endif
   unsigned long int sem_nsems;		/* number of semaphores in set */
   unsigned long int __unused3;
   unsigned long int __unused4;