From: Zachary Turner Date: Thu, 19 Jan 2017 23:44:14 +0000 (+0000) Subject: Fix a few more build errors. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b9c663e5c17848b8bd8a7d26c081cfca2f13ddc;p=llvm Fix a few more build errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292538 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/PDB/Raw/HashTable.h b/include/llvm/DebugInfo/PDB/Raw/HashTable.h index c0c32404a18..d8035501203 100644 --- a/include/llvm/DebugInfo/PDB/Raw/HashTable.h +++ b/include/llvm/DebugInfo/PDB/Raw/HashTable.h @@ -27,6 +27,8 @@ namespace llvm { namespace pdb { +class HashTableIterator; + class HashTable { friend class HashTableIterator; struct Header { diff --git a/lib/DebugInfo/PDB/Raw/HashTable.cpp b/lib/DebugInfo/PDB/Raw/HashTable.cpp index 68dbbd08853..b218f3d8f38 100644 --- a/lib/DebugInfo/PDB/Raw/HashTable.cpp +++ b/lib/DebugInfo/PDB/Raw/HashTable.cpp @@ -13,6 +13,8 @@ #include "llvm/ADT/SparseBitVector.h" #include "llvm/DebugInfo/PDB/Raw/RawError.h" +#include + using namespace llvm; using namespace llvm::pdb;