aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-12-17 23:03:53 -0500
committerTheodore Ts'o <tytso@mit.edu>2007-12-17 23:03:53 -0500
commit3166c58dc0e2be55c9414e019607902c85485e83 (patch)
tree01a2d0f8f6a26695340bdc40e2e71c549d2a9bf4
parentf91f55f58382afebc6692a80e68e362ff29f78c1 (diff)
downloadandroid_external_e2fsprogs-3166c58dc0e2be55c9414e019607902c85485e83.tar.gz
android_external_e2fsprogs-3166c58dc0e2be55c9414e019607902c85485e83.tar.bz2
android_external_e2fsprogs-3166c58dc0e2be55c9414e019607902c85485e83.zip
Add #define needed for Hurd ioctl definitions
Addresses-Debian-Bug: #437720 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--lib/ext2fs/ext2_fs.h4
1 files changed, 4 insertions, 0 deletions
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)