aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyDirectoryProvider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyDirectoryProvider.cpp')
-rw-r--r--embed/mozilla/EphyDirectoryProvider.cpp22
1 files changed, 14 insertions, 8 deletions
diff --git a/embed/mozilla/EphyDirectoryProvider.cpp b/embed/mozilla/EphyDirectoryProvider.cpp
index 1c9e30b4d..a2b026385 100644
--- a/embed/mozilla/EphyDirectoryProvider.cpp
+++ b/embed/mozilla/EphyDirectoryProvider.cpp
@@ -19,22 +19,28 @@
*/
#include "mozilla-config.h"
-
#include "config.h"
-#include "EphyDirectoryProvider.h"
+#include <string.h>
+
+#ifndef HAVE_GECKO_1_9
+// for nsNetUtil.h
+#define MOZILLA_INTERNAL_API 1
+#endif
+
+#include <nsStringAPI.h>
+#include <nsAppDirectoryServiceDefs.h>
#include <nsCOMPtr.h>
-#include <nsIIOService.h>
-#include <nsNetUtil.h>
#include <nsEnumeratorUtils.h>
-#include <nsILocalFile.h>
-#include <nsAppDirectoryServiceDefs.h>
-#include <nsIToolkitChromeRegistry.h>
#include <nsIDirectoryService.h>
+#include <nsIIOService.h>
+#include <nsILocalFile.h>
#include <nsISupportsArray.h>
+#include <nsIToolkitChromeRegistry.h>
+#include <nsNetUtil.h>
-#include <string.h>
+#include "EphyDirectoryProvider.h"
NS_IMPL_ISUPPORTS2 (EphyDirectoryProvider,
nsIDirectoryServiceProvider,