diff options
Diffstat (limited to 'libc/benchmarks/LibcMemoryBenchmarkMain.cpp')
| -rw-r--r-- | libc/benchmarks/LibcMemoryBenchmarkMain.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/benchmarks/LibcMemoryBenchmarkMain.cpp b/libc/benchmarks/LibcMemoryBenchmarkMain.cpp index bc6fd8b38cb6..c042b29cad98 100644 --- a/libc/benchmarks/LibcMemoryBenchmarkMain.cpp +++ b/libc/benchmarks/LibcMemoryBenchmarkMain.cpp @@ -10,6 +10,7 @@ #include "LibcBenchmark.h" #include "LibcMemoryBenchmark.h" #include "MemorySizeDistributions.h" +#include "src/__support/macros/config.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FileSystem.h" @@ -21,7 +22,7 @@ #include <cstring> #include <unistd.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { extern void *memcpy(void *__restrict, const void *__restrict, size_t); extern void *memmove(void *, const void *, size_t); @@ -30,7 +31,7 @@ extern void bzero(void *, size_t); extern int memcmp(const void *, const void *, size_t); extern int bcmp(const void *, const void *, size_t); -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL namespace llvm { namespace libc_benchmarks { |
