diff --git a/embedding/browser/webBrowser/Makefile.in b/embedding/browser/webBrowser/Makefile.in index 8027fe2528a2..9cc5a26db4f0 100644 --- a/embedding/browser/webBrowser/Makefile.in +++ b/embedding/browser/webBrowser/Makefile.in @@ -37,6 +37,8 @@ REQUIRES = xpcom \ js \ necko \ uriloader \ + history \ + browsercomps \ shistory \ webshell \ windowwatcher \ diff --git a/embedding/browser/webBrowser/nsWebBrowser.cpp b/embedding/browser/webBrowser/nsWebBrowser.cpp index 96330de6bf22..3a10e6625acb 100644 --- a/embedding/browser/webBrowser/nsWebBrowser.cpp +++ b/embedding/browser/webBrowser/nsWebBrowser.cpp @@ -66,6 +66,10 @@ // PSM2 includes #include "nsISecureBrowserUI.h" +#ifdef MOZ_PHOENIX +#include "nsBrowserCompsCID.h" +#endif + static NS_DEFINE_CID(kWebShellCID, NS_WEB_SHELL_CID); static NS_DEFINE_CID(kChildCID, NS_CHILD_CID); static NS_DEFINE_CID(kLookAndFeelCID, NS_LOOKANDFEEL_CID); diff --git a/xpfe/browser/src/Makefile.in b/xpfe/browser/src/Makefile.in index 9fbfef59fd88..19dc9771aae6 100644 --- a/xpfe/browser/src/Makefile.in +++ b/xpfe/browser/src/Makefile.in @@ -50,6 +50,10 @@ REQUIRES = xpcom \ windowwatcher \ $(NULL) +ifdef MOZ_PHOENIX +REQUIRES += browsercomps history +endif + CPPSRCS = \ nsBrowserInstance.cpp \ nsBrowserStatusFilter.cpp \ diff --git a/xpfe/browser/src/nsBrowserInstance.cpp b/xpfe/browser/src/nsBrowserInstance.cpp index 6d9373d39645..dae21b0d7b52 100644 --- a/xpfe/browser/src/nsBrowserInstance.cpp +++ b/xpfe/browser/src/nsBrowserInstance.cpp @@ -102,6 +102,10 @@ #include "nsFileStream.h" #include "nsIProxyObjectManager.h" +#ifdef MOZ_PHOENIX +#include "nsBrowserCompsCID.h" +#endif + #include "nsBrowserStatusFilter.h" NS_GENERIC_FACTORY_CONSTRUCTOR(nsBrowserStatusFilter)