From 3166c58dc0e2be55c9414e019607902c85485e83 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 17 Dec 2007 23:03:53 -0500 Subject: [PATCH] Add #define needed for Hurd ioctl definitions Addresses-Debian-Bug: #437720 Signed-off-by: "Theodore Ts'o" --- lib/ext2fs/ext2_fs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h index a316665d..378f0595 100644 --- a/lib/ext2fs/ext2_fs.h +++ b/lib/ext2fs/ext2_fs.h @@ -284,6 +284,10 @@ struct ext2_new_group_input { __u16 unused; /* Number of reserved GDT blocks in group */ }; +#ifdef __GNU__ /* Needed for the Hurd */ +#define _IOT_ext2_new_group_input _IOT (_IOTS(__u32), 5, _IOTS(__u16), 2, 0, 0) +#endif + #define EXT2_IOC_GETFLAGS _IOR('f', 1, long) #define EXT2_IOC_SETFLAGS _IOW('f', 2, long) #define EXT2_IOC_GETVERSION _IOR('v', 1, long)