diff options
Diffstat (limited to 'src/threads/pthread.c')
-rw-r--r-- | src/threads/pthread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/threads/pthread.c b/src/threads/pthread.c index 2f62ad3c..35589cc7 100644 --- a/src/threads/pthread.c +++ b/src/threads/pthread.c @@ -20,10 +20,12 @@ */ #include "config.h" +#include <libssh/callbacks.h> #ifdef HAVE_PTHREAD #include <errno.h> +#include <stdlib.h> #include <pthread.h> /** @brief Defines the needed callbacks for pthread. Use this if your @@ -81,4 +83,5 @@ static struct ssh_threads_callbacks_struct name= \ } SSH_THREADS_PTHREAD(ssh_pthread_user_callbacks); + #endif /* HAVE_PTHREAD */ |