diff options
Diffstat (limited to 'libc/src/unistd/linux/write.cpp')
| -rw-r--r-- | libc/src/unistd/linux/write.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/unistd/linux/write.cpp b/libc/src/unistd/linux/write.cpp index bd6c9114f787..99d5ab7e480b 100644 --- a/libc/src/unistd/linux/write.cpp +++ b/libc/src/unistd/linux/write.cpp @@ -10,11 +10,12 @@ #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 <sys/syscall.h> // For syscall numbers. -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(ssize_t, write, (int fd, const void *buf, size_t count)) { ssize_t ret = @@ -26,4 +27,4 @@ LLVM_LIBC_FUNCTION(ssize_t, write, (int fd, const void *buf, size_t count)) { return ret; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
