Bug 905920 - Fix build on platforms without SPS profiler r=khuey
authorLandry Breuil <landry@openbsd.org>
Tue, 20 Aug 2013 13:48:22 +0200
changeset 143197 b9465d94fff3c2e7e8f75ec8ae28d2189a8a28cd
parent 143196 b58b09143e5ebb334926d0818258fa5f75908be6
child 143223 e7f398a716bc3bf8f0e316c5dd8adaadeda5cf91
push id32664
push userlandry@openbsd.org
push dateTue, 20 Aug 2013 11:48:54 +0000
treeherdermozilla-inbound@b9465d94fff3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs905920
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 905920 - Fix build on platforms without SPS profiler r=khuey
xpcom/base/nsCycleCollector.cpp
--- a/xpcom/base/nsCycleCollector.cpp
+++ b/xpcom/base/nsCycleCollector.cpp
@@ -130,16 +130,17 @@
 #include <stdio.h>
 #include <string.h>
 
 #include "mozilla/CondVar.h"
 #include "mozilla/Likely.h"
 #include "mozilla/mozPoisonWrite.h"
 #include "mozilla/Mutex.h"
 #include "mozilla/Telemetry.h"
+#include "mozilla/ThreadLocal.h"
 
 using namespace mozilla;
 
 //#define COLLECT_TIME_DEBUG
 
 // Enable assertions that are useful for diagnosing errors in graph construction.
 //#define DEBUG_CC_GRAPH