diff -Nur dcfldd-1.2.4/md5.c dcfldd-1.2.4.fixed/md5.c --- dcfldd-1.2.4/md5.c 2005-05-10 00:56:15.000000000 +0100 +++ dcfldd-1.2.4.fixed/md5.c 2005-10-11 22:33:20.091158683 +0100 @@ -31,6 +31,18 @@ ********************************************************************** */ +#ifdef HAVE_CONFIG_H +#include +#endif /* HAVE_CONFIG_H */ + +#if HAVE_INTTYPES_H +# include +#else +# if HAVE_STDINT_H +# include +# endif +#endif + /* -- include the following line if the md5.h header file is separate -- */ #include "md5.h" diff -Nur dcfldd-1.2.4/md5.h dcfldd-1.2.4.fixed/md5.h --- dcfldd-1.2.4/md5.h 2005-05-10 00:56:15.000000000 +0100 +++ dcfldd-1.2.4.fixed/md5.h 2005-10-11 22:33:57.261568986 +0100 @@ -39,8 +39,16 @@ #ifndef MD5_H #define MD5_H +#if HAVE_INTTYPES_H +# include +#else +# if HAVE_STDINT_H +# include +# endif +#endif + /* typedef a 32 bit type */ -typedef unsigned long int UINT4; +typedef uint32_t UINT4; #define MD5_DIGEST_STRING_LENGTH 32