diff options
Diffstat (limited to 'libc/src/stdio/gpu/fgets.cpp')
| -rw-r--r-- | libc/src/stdio/gpu/fgets.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/stdio/gpu/fgets.cpp b/libc/src/stdio/gpu/fgets.cpp index fb0a30b78e69..942f6f0ff03b 100644 --- a/libc/src/stdio/gpu/fgets.cpp +++ b/libc/src/stdio/gpu/fgets.cpp @@ -8,6 +8,7 @@ #include "src/stdio/fgets.h" #include "file.h" +#include "src/__support/macros/config.h" #include "src/stdio/feof.h" #include "src/stdio/ferror.h" @@ -15,7 +16,7 @@ #include "hdr/types/FILE.h" #include <stddef.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(char *, fgets, (char *__restrict str, int count, @@ -40,4 +41,4 @@ LLVM_LIBC_FUNCTION(char *, fgets, return str; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
