aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-01 14:51:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-01 15:07:51 +0200
commite2b3d7f4853124746178148cf3f2af4e9c23f73d (patch)
treebc7ed2a890769ffb6dcf2127a45cc48fa9e3e11a /sysdeps/gnu/Makefile
parente3a3616dbf620fa9f260a4c1a779efbb15b4a506 (diff)
downloadglibc-e2b3d7f4853124746178148cf3f2af4e9c23f73d.zip
glibc-e2b3d7f4853124746178148cf3f2af4e9c23f73d.tar.gz
glibc-e2b3d7f4853124746178148cf3f2af4e9c23f73d.tar.bz2
hurd 64bit: Fix struct msqid_ds and shmid_ds fields
The standards want msg_lspid/msg_lrpid/shm_cpid/shm_lpid to be pid_t, see BZ 23083 and 23085. We can leave them __rpc_pid_t on i386 for ABI compatibility, but avoid hitting the issue on 64bit.
Diffstat (limited to 'sysdeps/gnu/Makefile')
-rw-r--r--sysdeps/gnu/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index 4798ff6..d8d2b6e 100644
--- a/sysdeps/gnu/Makefile
+++ b/sysdeps/gnu/Makefile
@@ -46,5 +46,7 @@ CFLAGS-rt-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables
endif
ifeq ($(subdir),sysvipc)
-sysdep_headers += bits/ipc-perm.h
+sysdep_headers += bits/ipc-perm.h \
+ bits/types/struct_msqid_ds.h \
+ bits/types/struct_shmid_ds.h
endif