[1.41, thread] small compile fix

View: New views
1 Messages — Rating Filter:   Alert me  

[1.41, thread] small compile fix

by Tim Blechmann-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,
trying the lastest release branch, i need the following fix to be able
to compile the boost.thread sources ... would be great, if it could make
it to the 1.41 release ...

thnx, tim

diff --git a/libs/thread/src/pthread/timeconv.inl
b/libs/thread/src/pthread/timeconv.inl
index 5ec3b17..50518c1 100644
--- a/libs/thread/src/pthread/timeconv.inl
+++ b/libs/thread/src/pthread/timeconv.inl
@@ -6,6 +6,8 @@

 // boostinspect:nounnamed

+#include <cassert>
+
 namespace {
 const int MILLISECONDS_PER_SECOND = 1000;
 const int NANOSECONDS_PER_SECOND = 1000000000;



--
tim@...
http://tim.klingt.org

Relying on the government to protect your privacy is like asking a
peeping tom to install your window blinds.
  John Perry Barlow


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost