From e0d89ff76414a1369c54fbd261308e1c313548d7 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 19 Jun 2014 20:20:03 +0000 Subject: [PATCH] Include Threading.h instead of forward declaring a function. Previously this led to a circular header dependency, but a recent change has since removed this dependency, so the correct fix is to simply include the header rather than forward declare. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211311 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Mutex.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/llvm/Support/Mutex.h b/include/llvm/Support/Mutex.h index f340051361b..496a4381f3f 100644 --- a/include/llvm/Support/Mutex.h +++ b/include/llvm/Support/Mutex.h @@ -15,13 +15,11 @@ #define LLVM_SUPPORT_MUTEX_H #include "llvm/Support/Compiler.h" +#include "llvm/Support/Threading.h" #include namespace llvm { - // Forward declare this function. - bool llvm_is_multithreaded(); - namespace sys { /// @brief Platform agnostic Mutex class. -- 2.11.0