diff options
author | Björn Jacke <bj@sernet.de> | 2010-01-26 00:17:10 +0100 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-01-26 00:19:10 +0100 |
commit | 5439e1a03f66ff9722987f908babfd71ebd698f1 (patch) | |
tree | fed6e991abd9bcd0fb9ca73040b33953d1d57320 /source3/libsmb | |
parent | 60a3086d78d9cf445034172f594325cb7b929d24 (diff) | |
download | samba-5439e1a03f66ff9722987f908babfd71ebd698f1.tar.gz samba-5439e1a03f66ff9722987f908babfd71ebd698f1.tar.bz2 samba-5439e1a03f66ff9722987f908babfd71ebd698f1.zip |
s3: fix detection and flags for using pthread
I hope this fixes the build on Tru64, IRIX and maybe bug #6983
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/libsmb_thread_posix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/libsmb_thread_posix.c b/source3/libsmb/libsmb_thread_posix.c index 6519659c25..8c8299dd7f 100644 --- a/source3/libsmb/libsmb_thread_posix.c +++ b/source3/libsmb/libsmb_thread_posix.c @@ -17,8 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ + #include "includes.h" +#ifdef HAVE_PTHREAD_H #include <pthread.h> +#endif #include "libsmbclient.h" #include "libsmb_internal.h" @@ -47,3 +50,4 @@ smbc_thread_posix(void) { smb_thread_set_functions(&tf); } + |