diff --git a/uriloader/exthandler/Makefile.in b/uriloader/exthandler/Makefile.in index d84dae4b4515..ff6fc5f3cbbb 100644 --- a/uriloader/exthandler/Makefile.in +++ b/uriloader/exthandler/Makefile.in @@ -65,6 +65,10 @@ REQUIRES = xpcom \ appcomps \ $(NULL) +ifdef MOZ_PHOENIX +REQUIRES += toolkitcomps history +endif + ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT))) REQUIRES += windowwatcher \ $(NULL) diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp index 24858350a7c8..b0ec26623b0a 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -86,6 +86,9 @@ #include "nsIPrefService.h" #include "nsIGlobalHistory.h" +#ifdef MOZ_PHOENIX +#include "nsToolkitCompsCID.h" +#endif #include "nsCRT.h" #include "plstr.h"