diff --git a/include/lutil_md5.h b/include/lutil_md5.h index e3fa617089..fb31443e9f 100644 --- a/include/lutil_md5.h +++ b/include/lutil_md5.h @@ -14,7 +14,9 @@ LDAP_BEGIN_DECL important. ANSI guarantees that "unsigned long" will be big enough, and always using it seems to have few disadvantages. */ +#ifndef LDAP_UINT32 typedef LDAP_UINT4 uint32; +#endif struct ldap_MD5Context { uint32 buf[4]; diff --git a/include/lutil_sha1.h b/include/lutil_sha1.h index 963545f5d6..165c9ed11d 100644 --- a/include/lutil_sha1.h +++ b/include/lutil_sha1.h @@ -15,7 +15,9 @@ LDAP_BEGIN_DECL * 100% Public Domain */ +#ifndef LDAP_UINT32 typedef LDAP_UINT4 uint32; +#endif typedef struct { uint32 state[5];