diff options
Diffstat (limited to 'libc/src/sys/stat/linux/fstat.cpp')
| -rw-r--r-- | libc/src/sys/stat/linux/fstat.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/sys/stat/linux/fstat.cpp b/libc/src/sys/stat/linux/fstat.cpp index 516417858569..411aa47bcda2 100644 --- a/libc/src/sys/stat/linux/fstat.cpp +++ b/libc/src/sys/stat/linux/fstat.cpp @@ -8,6 +8,7 @@ #include "src/sys/stat/fstat.h" #include "kernel_statx.h" +#include "src/__support/macros/config.h" #include "src/errno/libc_errno.h" #include "src/__support/common.h" @@ -15,7 +16,7 @@ #include <fcntl.h> #include <sys/stat.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(int, fstat, (int fd, struct stat *statbuf)) { int err = statx(fd, "", AT_EMPTY_PATH, statbuf); @@ -26,4 +27,4 @@ LLVM_LIBC_FUNCTION(int, fstat, (int fd, struct stat *statbuf)) { return 0; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
