libtorrent-rasterbar: unbreak build with libressl-2.1.2.

This commit is contained in:
Juan RP 2015-01-03 18:37:18 +01:00
parent ac1d5d290f
commit 5401c6a2c8

View file

@ -0,0 +1,10 @@
--- include/libtorrent/config.hpp.orig 2014-08-15 08:51:56.000000000 +0200
+++ include/libtorrent/config.hpp 2015-01-03 18:34:41.639761027 +0100
@@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef TORRENT_CONFIG_HPP_INCLUDED
#define TORRENT_CONFIG_HPP_INCLUDED
+#include <openssl/rand.h>
#include <boost/config.hpp>
#include <boost/version.hpp>
#include <stdio.h> // for snprintf