---
 hurd/hurd_types.defs | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index 5b9dd85a..95399289 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -425,7 +425,13 @@ type idarray_t = array[] of uid_t;
 
 type rusage_t = struct[18] of int; /* XXX */
 
-type flock_t = struct[7] of int; /* l_start and l_len are 64 bit */
+type flock_t = struct {
+   int l_type;
+   int l_whence;
+   loff_t l_start;
+   loff_t l_len;
+   pid_t l_pid;
+};
 
 type timespec_t = struct[2] of int;
 
-- 
2.37.2


Reply via email to