summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-15 22:11:13 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-15 22:11:13 -0700
commit70a78b2fa5553931cb8e90457440f671ca1afc06 (patch)
treeddab20ad79aa655accada1968fe027ce7f28d439
parentbb3aee447b698c7dcec6428a17c61e66dd43dfd6 (diff)
tests: Fix Linux build
-rw-r--r--tests/allocator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/allocator.cpp b/tests/allocator.cpp
index a43e14a..e1d99d5 100644
--- a/tests/allocator.cpp
+++ b/tests/allocator.cpp
@@ -2,6 +2,7 @@
#include <string.h>
#include <assert.h>
+#include <stdlib.h>
// Low-level allocation functions
#if defined(_WIN32) || defined(_WIN64)
@@ -113,8 +114,6 @@ namespace
}
}
#else
-# include <stdlib.h>
-
namespace
{
void* allocate(size_t size)