summaryrefslogtreecommitdiff
path: root/libc/src/pthread/pthread_attr_setstacksize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/pthread/pthread_attr_setstacksize.cpp')
-rw-r--r--libc/src/pthread/pthread_attr_setstacksize.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/pthread/pthread_attr_setstacksize.cpp b/libc/src/pthread/pthread_attr_setstacksize.cpp
index 642a888aba70..f327d3365b5d 100644
--- a/libc/src/pthread/pthread_attr_setstacksize.cpp
+++ b/libc/src/pthread/pthread_attr_setstacksize.cpp
@@ -9,11 +9,12 @@
#include "pthread_attr_setstacksize.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
#include <errno.h>
#include <pthread.h>
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, pthread_attr_setstacksize,
(pthread_attr_t *__restrict attr, size_t stacksize)) {
@@ -25,4 +26,4 @@ LLVM_LIBC_FUNCTION(int, pthread_attr_setstacksize,
return 0;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL