Make Makefiles OSF-make-friendly.
[openssl.git] / crypto / ripemd / ripemd.h
index a664e742afe80f753b6b5c387297e7f8a9ebd6d7..5942eb61808fe2ccdf9fbe4f3238271e55451567 100644 (file)
@@ -60,6 +60,7 @@
 #define HEADER_RIPEMD_H
 
 #include <openssl/e_os2.h>
+#include <stddef.h>
 
 #ifdef  __cplusplus
 extern "C" {
@@ -69,7 +70,7 @@ extern "C" {
 #error RIPEMD is disabled.
 #endif
 
-#if defined(OPENSSL_SYS_WIN16) || defined(__LP32__)
+#if defined(__LP32__)
 #define RIPEMD160_LONG unsigned long
 #elif defined(OPENSSL_SYS_CRAY) || defined(__ILP64__)
 #define RIPEMD160_LONG unsigned long
@@ -87,7 +88,7 @@ typedef struct RIPEMD160state_st
        RIPEMD160_LONG A,B,C,D,E;
        RIPEMD160_LONG Nl,Nh;
        RIPEMD160_LONG data[RIPEMD160_LBLOCK];
-       int num;
+       unsigned int   num;
        } RIPEMD160_CTX;
 
 int RIPEMD160_Init(RIPEMD160_CTX *c);