Index: thread.hpp =================================================================== --- thread.hpp (revision 61022) +++ thread.hpp (working copy) @@ -6,7 +6,9 @@ // (C) Copyright 2007-8 Anthony Williams #include +#ifndef BOOST_NO_IOSTREAM #include +#endif #include #include #include @@ -430,6 +432,7 @@ return !(thread_data friend std::basic_ostream& operator<<(std::basic_ostream& os, const id& x) @@ -443,6 +446,7 @@ return os<<"{Not-any-thread}"; } } +#endif }; inline bool thread::operator==(const thread& other) const