summaryrefslogtreecommitdiff
path: root/libc/src/stdio/gpu/putc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdio/gpu/putc.cpp')
-rw-r--r--libc/src/stdio/gpu/putc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/stdio/gpu/putc.cpp b/libc/src/stdio/gpu/putc.cpp
index d054d282c463..f8ae98d26cf0 100644
--- a/libc/src/stdio/gpu/putc.cpp
+++ b/libc/src/stdio/gpu/putc.cpp
@@ -8,11 +8,12 @@
#include "src/stdio/putc.h"
#include "file.h"
+#include "src/__support/macros/config.h"
#include "hdr/stdio_macros.h" // for EOF.
#include "hdr/types/FILE.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, putc, (int c, ::FILE *stream)) {
unsigned char uc = static_cast<unsigned char>(c);
@@ -24,4 +25,4 @@ LLVM_LIBC_FUNCTION(int, putc, (int c, ::FILE *stream)) {
return 0;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL