diff options
Diffstat (limited to 'libc/src/unistd/linux/truncate.cpp')
| -rw-r--r-- | libc/src/unistd/linux/truncate.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/unistd/linux/truncate.cpp b/libc/src/unistd/linux/truncate.cpp index 0120cc738a92..283cf4098cf4 100644 --- a/libc/src/unistd/linux/truncate.cpp +++ b/libc/src/unistd/linux/truncate.cpp @@ -10,13 +10,14 @@ #include "src/__support/OSUtil/syscall.h" // For internal syscall function. #include "src/__support/common.h" +#include "src/__support/macros/config.h" #include "src/errno/libc_errno.h" #include <stdint.h> // For uint64_t. #include <sys/syscall.h> // For syscall numbers. #include <unistd.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(int, truncate, (const char *path, off_t len)) { #ifdef SYS_truncate @@ -36,4 +37,4 @@ LLVM_LIBC_FUNCTION(int, truncate, (const char *path, off_t len)) { return 0; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
