Fix compile with OpenSSL 0.9.8b from -CURRENT.

Problem reported by:	kris
This commit is contained in:
Simon L. B. Nielsen 2006-08-10 20:33:38 +00:00
parent f8297c3610
commit a22d8a056b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170306

View File

@ -1,13 +1,16 @@
$FreeBSD$
--- crypto/ssh_crypto_openssl.c 2001/04/18 16:00:03 1.1
+++ crypto/ssh_crypto_openssl.c 2001/04/18 16:00:24
@@ -44,6 +44,7 @@
--- crypto/ssh_crypto_openssl.c.orig
+++ crypto/ssh_crypto_openssl.c
@@ -44,8 +44,10 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
+#include <sys/types.h>
#include <openssl/rand.h>
+#include <openssl/sha.h>
#include <openssl/opensslv.h>