diff --git a/mozilla/browser/base/content/browser-sets.inc b/mozilla/browser/base/content/browser-sets.inc index afe8797b75b..4c5eb4602cf 100644 --- a/mozilla/browser/base/content/browser-sets.inc +++ b/mozilla/browser/base/content/browser-sets.inc @@ -52,6 +52,7 @@ +#ifndef MOZ_PLACES_BOOKMARKS @@ -66,6 +67,7 @@ +#endif diff --git a/mozilla/browser/base/content/browser.xul b/mozilla/browser/base/content/browser.xul index fd7c624771d..9ff8f46e0c3 100644 --- a/mozilla/browser/base/content/browser.xul +++ b/mozilla/browser/base/content/browser.xul @@ -134,8 +134,10 @@ +#ifndef MOZ_PLACES # The hacky hidden tree used by the Go menu to build items. #include browser-gotreehack.inc +#endif #ifndef MOZ_PLACES_BOOKMARKS diff --git a/mozilla/browser/base/content/macBrowserOverlay.xul b/mozilla/browser/base/content/macBrowserOverlay.xul index f0259b7f62b..2ca3c1690af 100644 --- a/mozilla/browser/base/content/macBrowserOverlay.xul +++ b/mozilla/browser/base/content/macBrowserOverlay.xul @@ -72,8 +72,10 @@ # browser-sets.inc file for sharing with hiddenWindow.xul. #include browser-sets.inc +#ifndef MOZ_PLACES # The hacky hidden tree used by the Go menu to build items. #include browser-gotreehack.inc +#endif # The entire main menubar is placed into browser-menubar.inc, so that it can be shared by # hiddenWindow.xul.