summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/file
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/protocol/file')
-rw-r--r--netwerk/protocol/file/moz.build2
-rw-r--r--netwerk/protocol/file/nsFileProtocolHandler.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/netwerk/protocol/file/moz.build b/netwerk/protocol/file/moz.build
index 223ff2f2b..c6be28ef2 100644
--- a/netwerk/protocol/file/moz.build
+++ b/netwerk/protocol/file/moz.build
@@ -15,7 +15,7 @@ XPIDL_SOURCES += [
XPIDL_MODULE = 'necko_file'
-UNIFIED_SOURCES += [
+SOURCES += [
'nsFileChannel.cpp',
'nsFileProtocolHandler.cpp',
]
diff --git a/netwerk/protocol/file/nsFileProtocolHandler.cpp b/netwerk/protocol/file/nsFileProtocolHandler.cpp
index e55cb9d47..3896dabad 100644
--- a/netwerk/protocol/file/nsFileProtocolHandler.cpp
+++ b/netwerk/protocol/file/nsFileProtocolHandler.cpp
@@ -28,6 +28,8 @@
#define DESKTOP_ENTRY_SECTION "Desktop Entry"
#endif
+using namespace mozilla::net;
+
//-----------------------------------------------------------------------------
nsFileProtocolHandler::nsFileProtocolHandler()