summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadattrsetstack.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/posix/src/pthreadattrsetstack.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/posix/src/pthreadattrsetstack.c b/cpukit/posix/src/pthreadattrsetstack.c
index 7c4f14b6a4..699d2fec93 100644
--- a/cpukit/posix/src/pthreadattrsetstack.c
+++ b/cpukit/posix/src/pthreadattrsetstack.c
@@ -21,11 +21,12 @@
#endif
#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
-#include <pthread.h>
-#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/pthreadimpl.h>
+#include <rtems/score/stackimpl.h>
+
+#include <pthread.h>
+#include <errno.h>
int pthread_attr_setstack(
pthread_attr_t *attr,