diff --git a/indra/llcommon/llthreadsafequeue.h b/indra/llcommon/llthreadsafequeue.h index ca06eee110..01109b2b27 100644 --- a/indra/llcommon/llthreadsafequeue.h +++ b/indra/llcommon/llthreadsafequeue.h @@ -29,6 +29,7 @@ #include "llexception.h" #include "llmutex.h" +#include "lltimer.h" #include #include @@ -165,7 +166,7 @@ ElementT LLThreadSafeQueue::popBack(void) { ElementT value = mStorage.back(); mStorage.pop_back(); - return val; + return value; } } ms_sleep( 100 );