$NetBSD: patch-ah,v 1.2 2001/01/10 17:45:32 tron Exp $ --- imap/md5.h.orig Fri Aug 20 10:24:06 1999 +++ imap/md5.h Wed Jan 10 18:30:43 2001 @@ -26,14 +26,24 @@ #ifndef MD5_H #define MD5_H 1 +#include + /* POINTER defines a generic pointer type */ typedef unsigned char *POINTER; /* UINT2 defines a two byte word */ -typedef unsigned short int UINT2; +#ifdef __sun__ +typedef uint16_t UINT2; +#else +typedef u_int16_t UINT2; +#endif /* UINT4 defines a four byte word */ -typedef unsigned long int UINT4; +#ifdef __sun__ +typedef uint32_t UINT4; +#else +typedef u_int32_t UINT4; +#endif /* MD5 context. */ typedef struct {