diff --git a/xpfe/components/winhooks/Makefile.in b/xpfe/components/winhooks/Makefile.in index 994a7ae55c0..d677a07ec64 100644 --- a/xpfe/components/winhooks/Makefile.in +++ b/xpfe/components/winhooks/Makefile.in @@ -69,6 +69,10 @@ REQUIRES = \ FORCE_STATIC_LIB = 1 +ifdef MOZ_XUL_APP +LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre +endif + include $(topsrcdir)/config/rules.mk JS_SET_BROWSER_COMPONENT = nsSetDefaultBrowser.js