memalign fix

This commit is contained in:
Arvid Norberg 2010-03-03 04:26:12 +00:00
parent 82b8756c49
commit 4508758f49
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ POSSIBILITY OF SUCH DAMAGE.
#include <unistd.h> // _SC_PAGESIZE
#endif
#if TORRENT_USE_MEMALIGN || TORRENT_USE_POSIX_MEMALIGN
#include <malloc.h> // memalign
#endif
namespace libtorrent
{