summaryrefslogtreecommitdiff
path: root/tests/allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/allocator.cpp')
-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)