Fix build breakage introduced by r259846.
authorEaswaran Raman <eraman@google.com>
Fri, 5 Feb 2016 00:45:02 +0000 (00:45 +0000)
committerEaswaran Raman <eraman@google.com>
Fri, 5 Feb 2016 00:45:02 +0000 (00:45 +0000)
llvm-svn: 259855

llvm/include/llvm/ProfileData/ProfileCommon.h

index afdfdfc..022e5b0 100644 (file)
@@ -13,6 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cstdint>
+#include <functional>
 #include <map>
 #include <vector>
 
@@ -23,7 +24,7 @@ namespace llvm {
 namespace IndexedInstrProf {
 struct Summary;
 }
-class InstrProfRecord;
+struct InstrProfRecord;
 ///// Profile summary computation ////
 // The 'show' command displays richer summary of the profile data. The profile
 // summary is one or more (Cutoff, MinBlockCount, NumBlocks) triplets. Given a