diff --git a/ports/posix/tdsh_posix.c b/ports/posix/tdsh_posix.c index 2e78e42..a7a5c5b 100644 --- a/ports/posix/tdsh_posix.c +++ b/ports/posix/tdsh_posix.c @@ -18,6 +18,11 @@ #include #include #include +#include + +#ifndef PTHREAD_STACK_MIN +#define PTHREAD_STACK_MIN 8192 /* fallback */ +#endif static tdsh_posix_config_t s_cfg; static tdsh_session_t s_session;