From d5e2f9eaf7384ebf8f09831eb9fa15dad2ecf2c3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 1 May 2023 14:35:32 +0200 Subject: hurd 64bit: Fix flock fields types The standards want l_type and l_whence to be short ints, see BZ 23081. We can leave them ints on i386 for ABI compatibility, but avoid hitting the issue on 64bit. --- sysdeps/mach/hurd/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/mach/hurd/Makefile') diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 8fb6baf09e..b585d57b78 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -209,6 +209,8 @@ sysdep_routines += f_setlk close_nocancel close_nocancel_nostatus \ xstat fxstat lxstat xstat64 fxstat64 lxstat64 \ xmknod xmknodat \ fxstatat fxstatat64 + +sysdep_headers += bits/types/struct_flock.h endif ifeq (misc, $(subdir)) -- cgit 1.4.1