I was trying to build util-linux with the musl libc (http://www.etalabs.net/musl/), and found that a few patches were needed. These seem to just be some minor cleanups in most cases. I'm a bit dubious of the hwclock patch, though, as it seems at least a little bit hackish. Josiah Worcester (6): fdisk, display, hexdump.h: Use standard C types instead of u_int, u_char, u_long, etc. fsck, checktty, flock: Use more portable includes. checktty: Use NGROUPS_MAX instead of NGROUPS lib/tt.c: Fix mbs_width macro for systems without WIDECHAR test_sysinfo: Use CHAR_BIT*sizeof(void*) instead of __WORDSIZE. hwclock: Don't use asm/io.h if sys/io.h can't be found fdisk/fdiskbsdlabel.c | 34 +++++++++++++++++----------------- fsck/fsck.c | 2 +- hwclock/cmos.c | 7 ++++++- lib/tt.c | 2 +- login-utils/checktty.c | 7 +++++-- sys-utils/flock.c | 2 ++ tests/helpers/test_sysinfo.c | 2 +- text-utils/display.c | 32 ++++++++++++++++---------------- text-utils/hexdump.h | 4 ++-- 9 files changed, 51 insertions(+), 41 deletions(-) -- 1.7.5.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html