Fix the build with NO_LIBPTHREAD or NO_LIBTHR depending on the arch, by merging revision 1.292 from ru@ who was nice enough to fix this problem in HEAD, but I wasn't paying attention :-).
Fix the build with NO_LIBPTHREAD or NO_LIBTHR depending on the
arch, by merging revision 1.292 from ru@ who was nice enough to
fix this problem in HEAD, but I wasn't paying attention :-).

Pointy hat to:	mux
Spotted by:	bmah

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase