diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-09-06 14:54:16 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-09-06 15:17:03 +0200 |
commit | fbe102bada583f308450c27e256053b51643a532 (patch) | |
tree | a855a670d43df50647b5f90a89e15c093f26793f /src/threads/pthread.c | |
parent | 2cca490076841b431d7a83d020d90e1ad00bbca5 (diff) | |
download | libssh-fbe102bada583f308450c27e256053b51643a532.tar.gz libssh-fbe102bada583f308450c27e256053b51643a532.tar.xz libssh-fbe102bada583f308450c27e256053b51643a532.zip |
threads: Build a libssh threading library.
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 */ |