summaryrefslogtreecommitdiff
path: root/libc/src/sys/sendfile/linux/sendfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/sys/sendfile/linux/sendfile.cpp')
-rw-r--r--libc/src/sys/sendfile/linux/sendfile.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/sys/sendfile/linux/sendfile.cpp b/libc/src/sys/sendfile/linux/sendfile.cpp
index 5a7c012fe997..9d4174cb8c91 100644
--- a/libc/src/sys/sendfile/linux/sendfile.cpp
+++ b/libc/src/sys/sendfile/linux/sendfile.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 <sys/sendfile.h>
#include <sys/syscall.h> // For syscall numbers.
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(ssize_t, sendfile,
(int out_fd, int in_fd, off_t *offset, size_t count)) {
@@ -37,4 +38,4 @@ LLVM_LIBC_FUNCTION(ssize_t, sendfile,
return ret;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL