diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 14:35:32 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 15:05:09 +0200 |
commit | d5e2f9eaf7384ebf8f09831eb9fa15dad2ecf2c3 (patch) | |
tree | ceca57c0a4984904d040f111eecc3b4f7328e3a2 /sysdeps/mach/hurd/Makefile | |
parent | 90604f670c1074bc9e4c25f8f2ef9d358823d77b (diff) | |
download | glibc-d5e2f9eaf7384ebf8f09831eb9fa15dad2ecf2c3.tar.gz glibc-d5e2f9eaf7384ebf8f09831eb9fa15dad2ecf2c3.tar.xz glibc-d5e2f9eaf7384ebf8f09831eb9fa15dad2ecf2c3.zip |
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.
Diffstat (limited to 'sysdeps/mach/hurd/Makefile')
-rw-r--r-- | sysdeps/mach/hurd/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |