From 857bd1e30ed30708dbb5b8d30a80bb438d048d15 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 14 Mar 2008 14:59:12 +0000 Subject: Make this inclusion conditionally, since we don't use our directory provider on xr 1.9. svn path=/trunk/; revision=8105 --- embed/mozilla/mozilla-embed-single.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 2a0846c35..4665917e7 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -89,7 +89,6 @@ #include "mozilla-notifiers.h" #include "EphyBrowser.h" -#include "EphyDirectoryProvider.h" #include "EphySingle.h" #include "EphyUtils.h" #include "MozRegisterComponents.h" @@ -107,6 +106,10 @@ #define MOZILLA_EMBED_SINGLE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), MOZILLA_TYPE_EMBED_SINGLE, MozillaEmbedSinglePrivate)) +#ifndef HAVE_GECKO_1_9 +#include "EphyDirectoryProvider.h" +#endif /* HAVE_GECKO_1_9 */; + struct MozillaEmbedSinglePrivate { char *user_prefs; -- cgit v1.2.3