Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 50bb24b4bac1ed1abe2530fdf692898f > files > 5

device-mapper-1.02.24-3mnb2.src.rpm

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.