diff options
-rw-r--r-- | c/src/exec/posix/src/adasupp.c | 4 | ||||
-rw-r--r-- | cpukit/posix/src/adasupp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/posix/src/adasupp.c b/c/src/exec/posix/src/adasupp.c index 740bf30132..234b0c2a40 100644 --- a/c/src/exec/posix/src/adasupp.c +++ b/c/src/exec/posix/src/adasupp.c @@ -7,7 +7,7 @@ #include <pthread.h> #include <rtems/system.h> -#include <rtems/score/stack.h> +#include <rtems/posix/pthread.h> /*PAGE * @@ -24,5 +24,5 @@ size_t _ada_pthread_minimum_stack_size( void ) * but for now, this will do. */ - return STACK_MINIMUM_SIZE; + return PTHREAD_MINIMUM_STACK_SIZE * 2; } diff --git a/cpukit/posix/src/adasupp.c b/cpukit/posix/src/adasupp.c index 740bf30132..234b0c2a40 100644 --- a/cpukit/posix/src/adasupp.c +++ b/cpukit/posix/src/adasupp.c @@ -7,7 +7,7 @@ #include <pthread.h> #include <rtems/system.h> -#include <rtems/score/stack.h> +#include <rtems/posix/pthread.h> /*PAGE * @@ -24,5 +24,5 @@ size_t _ada_pthread_minimum_stack_size( void ) * but for now, this will do. */ - return STACK_MINIMUM_SIZE; + return PTHREAD_MINIMUM_STACK_SIZE * 2; } |