diff options
Diffstat (limited to 'compiler-rt/test/scudo/memalign.cpp')
-rw-r--r-- | compiler-rt/test/scudo/memalign.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/scudo/memalign.cpp b/compiler-rt/test/scudo/memalign.cpp index 01526ca3d60..9cbd67e747c 100644 --- a/compiler-rt/test/scudo/memalign.cpp +++ b/compiler-rt/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> |