--- pilot-link-0.12.3/include/pi-md5.h 2006-10-17 15:24:07.000000000 +0200 +++ pilot-link/include/pi-md5.h 2007-12-18 04:03:09.000000000 +0100 @@ -13,8 +13,20 @@ #ifndef MD5_H #define MD5_H +#include "config.h" +#if HAVE_INTTYPES_H +#include +#endif +#if HAVE_STDINT_H +#include +#endif +#ifdef HAVE_INTTYPES_H || HAVE_STDINT_H +#define UINT8 uint8_t +#define UINT32 uint32_t +#else #define UINT8 unsigned char -#define UINT32 unsigned long +#define UINT32 unsigned int +#endif struct MD5Context { UINT32 buf[4];