From 3003b76c7c4042048bfe7a344d529ec0f03dd638 Mon Sep 17 00:00:00 2001 From: beck <> Date: Fri, 18 Apr 2014 21:11:00 +0000 Subject: Unsurprisingly, since was so darn hard to find for OpenSSL developers they had resorted to manually protyping read(2) instead of incredible amount of preprocessor wizardry needed to find the ever illusive . Let's just include and we don't need to do this.. While we're at it flense out _OSD_POSIX and __DGJPP__ cruft. ok krw@ --- src/lib/libcrypto/sha/sha1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/sha') diff --git a/src/lib/libcrypto/sha/sha1.c b/src/lib/libcrypto/sha/sha1.c index d350c88ee4..fd56a1e756 100644 --- a/src/lib/libcrypto/sha/sha1.c +++ b/src/lib/libcrypto/sha/sha1.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include #include #include #include @@ -64,9 +65,6 @@ void do_fp(FILE *f); void pt(unsigned char *md); -#ifndef _OSD_POSIX -int read(int, void *, unsigned int); -#endif int main(int argc, char **argv) { -- cgit v1.2.3-55-g6feb