From e2b3d7f4853124746178148cf3f2af4e9c23f73d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 1 May 2023 14:51:22 +0200 Subject: 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. --- sysdeps/gnu/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysdeps/gnu/Makefile') 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 -- cgit v1.1