From 6e951773a6456c4af0f1614ba580170945a21a7c Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Wed, 2 Jan 2019 01:35:18 -0700 Subject: [PATCH] pipeline: (Light)ReMutexDirect should include thread.h Thread methods are used in the respective .I files, so an incomplete forward declaration won't suffice here. --- panda/src/pipeline/lightReMutexDirect.h | 3 +-- panda/src/pipeline/reMutexDirect.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/panda/src/pipeline/lightReMutexDirect.h b/panda/src/pipeline/lightReMutexDirect.h index d1bc022740..384330587e 100644 --- a/panda/src/pipeline/lightReMutexDirect.h +++ b/panda/src/pipeline/lightReMutexDirect.h @@ -17,8 +17,7 @@ #include "pandabase.h" #include "mutexImpl.h" #include "reMutexDirect.h" - -class Thread; +#include "thread.h" #ifndef DEBUG_THREADS diff --git a/panda/src/pipeline/reMutexDirect.h b/panda/src/pipeline/reMutexDirect.h index faf46d0fb0..9a82b728ba 100644 --- a/panda/src/pipeline/reMutexDirect.h +++ b/panda/src/pipeline/reMutexDirect.h @@ -17,8 +17,7 @@ #include "pandabase.h" #include "mutexTrueImpl.h" #include "conditionVarImpl.h" - -class Thread; +#include "thread.h" #ifndef DEBUG_THREADS