summaryrefslogtreecommitdiff
path: root/libc/src/unistd/linux/pwrite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unistd/linux/pwrite.cpp')
-rw-r--r--libc/src/unistd/linux/pwrite.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/unistd/linux/pwrite.cpp b/libc/src/unistd/linux/pwrite.cpp
index b0540a09710e..1b81b2a05949 100644
--- a/libc/src/unistd/linux/pwrite.cpp
+++ b/libc/src/unistd/linux/pwrite.cpp
@@ -11,11 +11,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 <stdint.h> // For uint64_t.
#include <sys/syscall.h> // For syscall numbers.
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(ssize_t, pwrite,
(int fd, const void *buf, size_t count, off_t offset)) {
@@ -43,4 +44,4 @@ LLVM_LIBC_FUNCTION(ssize_t, pwrite,
return ret;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL