diff options
Diffstat (limited to 'libc/src/unistd/linux/pathconf.cpp')
| -rw-r--r-- | libc/src/unistd/linux/pathconf.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/unistd/linux/pathconf.cpp b/libc/src/unistd/linux/pathconf.cpp index 11427698232b..ca1c10bb9f7f 100644 --- a/libc/src/unistd/linux/pathconf.cpp +++ b/libc/src/unistd/linux/pathconf.cpp @@ -7,11 +7,12 @@ //===----------------------------------------------------------------------===// #include "src/unistd/pathconf.h" +#include "src/__support/macros/config.h" #include "src/errno/libc_errno.h" #include "src/sys/statvfs/linux/statfs_utils.h" #include "src/unistd/linux/pathconf_utils.h" -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(long, pathconf, (const char *path, int name)) { if (cpp::optional<statfs_utils::LinuxStatFs> result = @@ -20,4 +21,4 @@ LLVM_LIBC_FUNCTION(long, pathconf, (const char *path, int name)) { return -1; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
