From 4508758f4917ce76f3358382622d0d2bc510cee5 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 3 Mar 2010 04:26:12 +0000 Subject: [PATCH] memalign fix --- src/allocator.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/allocator.cpp b/src/allocator.cpp index 5b08bf23c..6024d492f 100644 --- a/src/allocator.cpp +++ b/src/allocator.cpp @@ -43,6 +43,9 @@ POSSIBILITY OF SUCH DAMAGE. #include // _SC_PAGESIZE #endif +#if TORRENT_USE_MEMALIGN || TORRENT_USE_POSIX_MEMALIGN +#include // memalign +#endif namespace libtorrent {