summaryrefslogtreecommitdiff
path: root/test/scudo
diff options
context:
space:
mode:
Diffstat (limited to 'test/scudo')
-rw-r--r--test/scudo/memalign.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scudo/memalign.cpp b/test/scudo/memalign.cpp
index 01526ca3d..9cbd67e74 100644
--- a/test/scudo/memalign.cpp
+++ b/test/scudo/memalign.cpp
@@ -5,6 +5,8 @@
// Tests that the various aligned allocation functions work as intended. Also
// tests for the condition where the alignment is not a power of 2.
+#define __USE_ISOC11 // for aligned_alloc
+
#include <assert.h>
#include <malloc.h>
#include <stdlib.h>