I'm trying to compile wolfSSH without multi-threading, and when I used the --enable-singlethreaded flag while compiling wolfSSL, now when I try to build wolfSSH I receieve the error:
In file included from tests/testsuite.c:41:
./wolfssh/test.h:954:32: error: unknown type name ‘THREAD_CB’; did you mean ‘THREAD_TYPE’?
954 | static INLINE void ThreadStart(THREAD_CB fun, void* args, THREAD_TYPE* thread)
| ^~~~~~~~~
| THREAD_TYPE
./wolfssh/test.h: In function ‘ThreadJoin’:
./wolfssh/test.h:961:11: error: implicit declaration of function ‘wolfSSL_JoinThread’ [-Werror=implicit-function-declaration]
961 | (void)wolfSSL_JoinThread(thread);
| ^~~~~~~~~~~~~~~~~~
./wolfssh/test.h:961:11: error: nested extern declaration of ‘wolfSSL_JoinThread’ [-Werror=nested-externs]
Any idea on how I can compile wolfSSH without multi-threading?