diff -p -up device-mapper.1.02.24/lib/libdevmapper.h.uint32_max device-mapper.1.02.24/lib/libdevmapper.h --- device-mapper.1.02.24/lib/libdevmapper.h.uint32_max 2007-12-05 16:28:19.000000000 +0000 +++ device-mapper.1.02.24/lib/libdevmapper.h 2008-01-23 11:32:01.000000000 +0000 @@ -29,6 +29,12 @@ #include <stdlib.h> #include <stdio.h> +#include <stdint.h> +#ifndef UINT32_MAX +/* dietlibc */ +#define UINT32_MAX UINT_MAX +#endif + /***************************************************************** * The first section of this file provides direct access to the * individual device-mapper ioctls.