]> git.wh0rd.org - patches.git/blob - openssl-sha-sys-types.patch
more random patches. who knows.
[patches.git] / openssl-sha-sys-types.patch
1 Index: ./crypto/sha/sha.h
2 ===================================================================
3 RCS file: /usr/local/src/openssl/cvs-tree/openssl/crypto/sha/sha.h,v
4 retrieving revision 1.21
5 diff -u -p -r1.21 sha.h
6 --- ./crypto/sha/sha.h 18 Dec 2005 19:11:33 -0000 1.21
7 +++ ./crypto/sha/sha.h 10 Dec 2006 19:26:12 -0000
8 @@ -65,6 +65,10 @@
9 extern "C" {
10 #endif
11
12 +#if !defined(NO_SYS_TYPES_H)
13 +#include <sys/types.h>
14 +#endif
15 +
16 #if defined(OPENSSL_NO_SHA) || (defined(OPENSSL_NO_SHA0) && defined(OPENSSL_NO_SHA1))
17 #error SHA is disabled.
18 #endif