diff --git a/xpcom/components/nsRepository.cpp b/xpcom/components/nsRepository.cpp index ef4c63230f50..d7370d4a763d 100644 --- a/xpcom/components/nsRepository.cpp +++ b/xpcom/components/nsRepository.cpp @@ -17,7 +17,14 @@ */ #include -#include + +#ifndef XP_MAC + // including this on mac causes odd link errors in static initialization stuff that we + // (pinkerton & scc) don't yet understand. If you want to turn this on for mac, talk + // to one of us. + #include +#endif + #ifdef _WIN32 #include #endif diff --git a/xpcom/src/nsRepository.cpp b/xpcom/src/nsRepository.cpp index ef4c63230f50..d7370d4a763d 100644 --- a/xpcom/src/nsRepository.cpp +++ b/xpcom/src/nsRepository.cpp @@ -17,7 +17,14 @@ */ #include -#include + +#ifndef XP_MAC + // including this on mac causes odd link errors in static initialization stuff that we + // (pinkerton & scc) don't yet understand. If you want to turn this on for mac, talk + // to one of us. + #include +#endif + #ifdef _WIN32 #include #endif