diff --git a/accessible/src/atk/nsRootAccessibleWrap.cpp b/accessible/src/atk/nsRootAccessibleWrap.cpp index 5710b9c9920..20ca7de731c 100644 --- a/accessible/src/atk/nsRootAccessibleWrap.cpp +++ b/accessible/src/atk/nsRootAccessibleWrap.cpp @@ -41,13 +41,16 @@ #include "nsMai.h" #include "nsRootAccessibleWrap.h" -#include "nsIAccessibleTreeCache.h" #include "nsAppRootAccessible.h" #include "nsIDOMWindow.h" #include "nsPIDOMWindow.h" #include "nsIDOMXULMultSelectCntrlEl.h" #include "nsIFocusController.h" +#ifdef MOZ_XUL +#include "nsIAccessibleTreeCache.h" +#endif + nsRootAccessibleWrap::nsRootAccessibleWrap(nsIDOMNode *aDOMNode, nsIWeakReference* aShell): nsRootAccessible(aDOMNode, aShell)