From cacca0a56c004e899e2bd580ad8dbf877bc588c1 Mon Sep 17 00:00:00 2001 From: Bernard Spil Date: Sun, 29 Mar 2015 21:49:05 +0200 Subject: [PATCH] Fix build with LibreSSL LibreSSL includes work slightly different, need to specifically rand.h was not included making build fail where RAND_add is used --- libtorrent/include/libtorrent/pe_crypto.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libtorrent/include/libtorrent/pe_crypto.hpp b/libtorrent/include/libtorrent/pe_crypto.hpp index 178c54d4..df2555ff 100644 --- a/libtorrent/include/libtorrent/pe_crypto.hpp +++ b/libtorrent/include/libtorrent/pe_crypto.hpp @@ -43,6 +43,7 @@ POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include #else // RC4 state from libtomcrypt struct rc4 {