Hello, Here is a patch to fix the build on GNU/Hurd, could you please apply it? Thanks, Samuel
diff -ur util-linux-2.17.2.orig/lib/ismounted.c util-linux-2.17.2/lib/ismounted.c --- util-linux-2.17.2.orig/lib/ismounted.c 2010-03-18 22:11:23.000000000 +0000 +++ util-linux-2.17.2/lib/ismounted.c 2010-06-08 21:28:05.000000000 +0000 @@ -19,6 +19,7 @@ #include "pathnames.h" #include "ismounted.h" +#include "c.h" #ifdef HAVE_MNTENT_H /* diff -ur util-linux-2.17.2.orig/shlibs/blkid/src/topology/evms.c util-linux-2.17.2/shlibs/blkid/src/topology/evms.c --- util-linux-2.17.2.orig/shlibs/blkid/src/topology/evms.c 2010-03-18 22:11:23.000000000 +0000 +++ util-linux-2.17.2/shlibs/blkid/src/topology/evms.c 2010-06-08 21:00:10.000000000 +0000 @@ -23,6 +23,11 @@ #include "topology.h" #define EVMS_MAJOR 117 + +#ifndef _IOT__IOTBASE_u_int32_t +#define _IOT__IOTBASE_u_int32_t IOT_SIMPLE(u_int32_t) +#endif +#define _IOT_evms_stripe_info _IOT (_IOTS(u_int32_t), 2, 0, 0, 0, 0) #define EVMS_GET_STRIPE_INFO _IOR(EVMS_MAJOR, 0xF0, struct evms_stripe_info) struct evms_stripe_info { diff -ur util-linux-2.17.2.orig/shlibs/blkid/src/topology/md.c util-linux-2.17.2/shlibs/blkid/src/topology/md.c --- util-linux-2.17.2.orig/shlibs/blkid/src/topology/md.c 2010-03-18 22:11:23.000000000 +0000 +++ util-linux-2.17.2/shlibs/blkid/src/topology/md.c 2010-06-08 20:39:02.000000000 +0000 @@ -26,6 +26,10 @@ #define MD_MAJOR 9 #endif +#ifndef _IOT__IOTBASE_uint32_t +#define _IOT__IOTBASE_uint32_t IOT_SIMPLE(uint32_t) +#endif +#define _IOT_md_array_info _IOT (_IOTS(uint32_t), 18, 0, 0, 0, 0) #define GET_ARRAY_INFO _IOR (MD_MAJOR, 0x11, struct md_array_info) struct md_array_info { diff -ur util-linux-2.17.2.orig/sys-utils/rdev.c util-linux-2.17.2/sys-utils/rdev.c --- util-linux-2.17.2.orig/sys-utils/rdev.c 2010-02-04 11:53:59.000000000 +0000 +++ util-linux-2.17.2/sys-utils/rdev.c 2010-06-08 21:31:37.000000000 +0000 @@ -68,6 +68,7 @@ #include <sys/stat.h> #include "nls.h" +#include "c.h" /* rdev.c - query/set root device. */