summaryrefslogtreecommitdiff
path: root/libc/src/__support/StringUtil/error_to_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/__support/StringUtil/error_to_string.h')
-rw-r--r--libc/src/__support/StringUtil/error_to_string.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/__support/StringUtil/error_to_string.h b/libc/src/__support/StringUtil/error_to_string.h
index 43cf785c30b0..ff5868457f8c 100644
--- a/libc/src/__support/StringUtil/error_to_string.h
+++ b/libc/src/__support/StringUtil/error_to_string.h
@@ -11,13 +11,14 @@
#include "src/__support/CPP/span.h"
#include "src/__support/CPP/string_view.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
cpp::string_view get_error_string(int err_num);
cpp::string_view get_error_string(int err_num, cpp::span<char> buffer);
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_ERROR_TO_STRING_H