diff options
Diffstat (limited to 'libc/src/stdlib/freelist_malloc.cpp')
| -rw-r--r-- | libc/src/stdlib/freelist_malloc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/stdlib/freelist_malloc.cpp b/libc/src/stdlib/freelist_malloc.cpp index 684c447a204e..cfffa0425ff6 100644 --- a/libc/src/stdlib/freelist_malloc.cpp +++ b/libc/src/stdlib/freelist_malloc.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "src/__support/freelist_heap.h" +#include "src/__support/macros/config.h" #include "src/stdlib/aligned_alloc.h" #include "src/stdlib/calloc.h" #include "src/stdlib/free.h" @@ -15,7 +16,7 @@ #include <stddef.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { namespace { #ifdef LIBC_FREELIST_MALLOC_SIZE @@ -47,4 +48,4 @@ LLVM_LIBC_FUNCTION(void *, aligned_alloc, (size_t alignment, size_t size)) { return freelist_heap->aligned_allocate(alignment, size); } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
