Thread methods are used in the respective .I files, so an incomplete forward declaration won't suffice here.
@@ -17,8 +17,7 @@
#include "pandabase.h"
#include "mutexImpl.h"
#include "reMutexDirect.h"
-
-class Thread;
+#include "thread.h"
#ifndef DEBUG_THREADS
#include "mutexTrueImpl.h"
#include "conditionVarImpl.h"