diff --git a/c/src/exec/posix/headers/pthread.h b/c/src/exec/posix/headers/pthread.h index 2f1476ac2d..7a46edea9f 100644 --- a/c/src/exec/posix/headers/pthread.h +++ b/c/src/exec/posix/headers/pthread.h @@ -24,6 +24,8 @@ extern "C" { #include #include +#define PTHREAD_MINIMUM_STACK_SIZE (STACK_MINIMUM_SIZE * 2) + /* * The following defines the information control block used to manage * this class of objects. diff --git a/c/src/exec/posix/include/rtems/posix/pthread.h b/c/src/exec/posix/include/rtems/posix/pthread.h index 2f1476ac2d..7a46edea9f 100644 --- a/c/src/exec/posix/include/rtems/posix/pthread.h +++ b/c/src/exec/posix/include/rtems/posix/pthread.h @@ -24,6 +24,8 @@ extern "C" { #include #include +#define PTHREAD_MINIMUM_STACK_SIZE (STACK_MINIMUM_SIZE * 2) + /* * The following defines the information control block used to manage * this class of objects. diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h index 2f1476ac2d..7a46edea9f 100644 --- a/cpukit/posix/include/rtems/posix/pthread.h +++ b/cpukit/posix/include/rtems/posix/pthread.h @@ -24,6 +24,8 @@ extern "C" { #include #include +#define PTHREAD_MINIMUM_STACK_SIZE (STACK_MINIMUM_SIZE * 2) + /* * The following defines the information control block used to manage * this class of objects.