diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp
index 7d1cf61bdf6fcba5b21399d669614768a6da9517..870c9d8d7c97b1eae746757862d5c002f706b1d0 100644
--- a/indra/llaudio/llaudiodecodemgr.cpp
+++ b/indra/llaudio/llaudiodecodemgr.cpp
@@ -555,7 +555,7 @@ class LLAudioDecodeMgr::Impl
 
   protected:
     std::deque<LLUUID> mDecodeQueue;
-    std::unordered_map<LLUUID, LLPointer<LLVorbisDecodeState>> mDecodes;
+    boost::unordered_map<LLUUID, LLPointer<LLVorbisDecodeState>> mDecodes;
 };
 
 LLAudioDecodeMgr::Impl::Impl()
diff --git a/indra/newview/llperfstats.h b/indra/newview/llperfstats.h
index 33777abdbf284b9e37306d97daa6bb3cbba1f8b8..ab09732133a45acc778e1db99e5877708009866b 100644
--- a/indra/newview/llperfstats.h
+++ b/indra/newview/llperfstats.h
@@ -223,7 +223,7 @@ namespace LLPerfStats
         static void updateMeanFrameTime(U64 tot_frame_time_raw);
 // StatsArray is a uint64_t for each possible statistic type.
         using StatsArray    = std::array<uint64_t, static_cast<size_t>(LLPerfStats::StatType_t::STATS_COUNT)>;
-        using StatsMap      = std::unordered_map<LLUUID, StatsArray, boost::hash<LLUUID>>;
+        using StatsMap      = boost::unordered_map<LLUUID, StatsArray>;
         using StatsTypeMatrix = std::array<StatsMap, static_cast<size_t>(LLPerfStats::ObjType_t::OT_COUNT)>;
         using StatsSummaryArray = std::array<StatsArray, static_cast<size_t>(LLPerfStats::ObjType_t::OT_COUNT)>;