summaryrefslogtreecommitdiff
path: root/libc/src/stdio/generic/getchar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdio/generic/getchar.cpp')
-rw-r--r--libc/src/stdio/generic/getchar.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/stdio/generic/getchar.cpp b/libc/src/stdio/generic/getchar.cpp
index bf3825bbbf16..371fc70eb214 100644
--- a/libc/src/stdio/generic/getchar.cpp
+++ b/libc/src/stdio/generic/getchar.cpp
@@ -10,9 +10,10 @@
#include "src/__support/File/file.h"
#include "hdr/types/FILE.h"
+#include "src/__support/macros/config.h"
#include "src/errno/libc_errno.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, getchar, ()) {
unsigned char c;
@@ -25,4 +26,4 @@ LLVM_LIBC_FUNCTION(int, getchar, ()) {
return c;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL