summaryrefslogtreecommitdiff
path: root/libc/src/sys/stat/linux/lstat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/sys/stat/linux/lstat.cpp')
-rw-r--r--libc/src/sys/stat/linux/lstat.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/sys/stat/linux/lstat.cpp b/libc/src/sys/stat/linux/lstat.cpp
index b2698148973a..5a6eff068d1d 100644
--- a/libc/src/sys/stat/linux/lstat.cpp
+++ b/libc/src/sys/stat/linux/lstat.cpp
@@ -8,6 +8,7 @@
#include "src/sys/stat/lstat.h"
#include "kernel_statx.h"
+#include "src/__support/macros/config.h"
#include "src/errno/libc_errno.h"
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
@@ -16,7 +17,7 @@
#include <fcntl.h>
#include <sys/stat.h>
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, lstat,
(const char *__restrict path,
@@ -29,4 +30,4 @@ LLVM_LIBC_FUNCTION(int, lstat,
return 0;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL