summaryrefslogtreecommitdiff
path: root/audio/gnomoradio/files/patch-rainbow_sha1.h
blob: f5393dcada32f8bbdbcc528209dea0ad8eaeeb2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- rainbow/sha1.h.orig	2004-10-17 01:26:13 UTC
+++ rainbow/sha1.h
@@ -22,7 +22,7 @@
 #ifndef _SHA1_H_
 #define _SHA1_H_
 
-#include <stdint.h>
+#include <unistd.h>
 /*
  * If you do not have the ISO standard stdint.h header file, then you
  * must typdef the following:
@@ -57,7 +57,7 @@ typedef struct SHA1Context
     uint32_t Length_High;           /* Message length in bits      */
 
                                /* Index into message block array   */
-    int_least16_t Message_Block_Index;
+    int16_t Message_Block_Index;
     uint8_t Message_Block[64];      /* 512-bit message blocks      */
 
     int Computed;               /* Is the digest computed?         */