From 5b5597e52390e59e538a1b840dea8bd66d3fa616 Mon Sep 17 00:00:00 2001 From: Georg Rudoy <0xd34df00d@gmail.com> Date: Sun, 6 Sep 2009 18:22:55 +0000 Subject: [PATCH] Possibly fixed not found alloca on FreeBSD. --- include/libtorrent/alloca.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libtorrent/alloca.hpp b/include/libtorrent/alloca.hpp index 20257a17d..5c3d4458e 100644 --- a/include/libtorrent/alloca.hpp +++ b/include/libtorrent/alloca.hpp @@ -42,6 +42,7 @@ POSSIBILITY OF SUCH DAMAGE. #else #include +#include #define TORRENT_ALLOCA(t, n) static_cast(alloca(sizeof(t) * (n))) #endif