]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Merge in some changes from GNU libc.
authorJim Meyering <jim@meyering.net>
Fri, 21 Feb 2003 12:16:12 +0000 (12:16 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 21 Feb 2003 12:16:12 +0000 (12:16 +0000)
(md5_uintptr): Define.

lib/md5.h

index 3b7dea1699520d70fc068e0bd414553776bc8c53..0d22a70a2ccd9eac07cb75fffe7926998d26a5d2 100644 (file)
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -35,8 +35,9 @@
    is usually not possible.  */
 
 #ifdef _LIBC
-# include <sys/types.h>
-typedef u_int32_t md5_uint32;
+# include <stdint.h>
+typedef uint32_t md5_uint32;
+typedef uintptr_t md5_uintptr;
 #else
 # if defined __STDC__ && __STDC__
 #  define UINT_MAX_32_BITS 4294967295U
@@ -68,6 +69,9 @@ typedef u_int32_t md5_uint32;
 #   endif
 #  endif
 # endif
+/* We have to make a guess about the integer type equivalent in size
+   to pointers which should always be correct.  */
+typedef unsigned long int md5_uintptr;
 #endif
 
 #undef __P