summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-18 12:13:22 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-20 13:58:44 +0000
commit6cdd6c62867b53c0042aaf71fb6258782fba4c7a (patch)
treec5045b673fbca0f2960d14f4a0f0d9679ed9b426
parent25c1a5cbe30ad8a568c021173994474e18e3ca0d (diff)
downloadUXP-6cdd6c62867b53c0042aaf71fb6258782fba4c7a.tar
UXP-6cdd6c62867b53c0042aaf71fb6258782fba4c7a.tar.gz
UXP-6cdd6c62867b53c0042aaf71fb6258782fba4c7a.tar.lz
UXP-6cdd6c62867b53c0042aaf71fb6258782fba4c7a.tar.xz
UXP-6cdd6c62867b53c0042aaf71fb6258782fba4c7a.zip
Issue #80 - De-unify netwerk/streamconv
-rw-r--r--netwerk/streamconv/converters/moz.build6
-rw-r--r--netwerk/streamconv/converters/nsHTTPCompressConv.cpp2
2 files changed, 5 insertions, 3 deletions
diff --git a/netwerk/streamconv/converters/moz.build b/netwerk/streamconv/converters/moz.build
index 10354357b..4c0d177c5 100644
--- a/netwerk/streamconv/converters/moz.build
+++ b/netwerk/streamconv/converters/moz.build
@@ -10,7 +10,7 @@ XPIDL_SOURCES += [
XPIDL_MODULE = 'necko_http'
-UNIFIED_SOURCES += [
+SOURCES += [
'mozTXTToHTMLConv.cpp',
'nsDirIndex.cpp',
'nsDirIndexParser.cpp',
@@ -22,13 +22,13 @@ UNIFIED_SOURCES += [
]
if 'ftp' in CONFIG['NECKO_PROTOCOLS']:
- UNIFIED_SOURCES += [
+ SOURCES += [
'nsFTPDirListingConv.cpp',
'ParseFTPList.cpp',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'cocoa':
- UNIFIED_SOURCES += [
+ SOURCES += [
'nsBinHexDecoder.cpp',
]
diff --git a/netwerk/streamconv/converters/nsHTTPCompressConv.cpp b/netwerk/streamconv/converters/nsHTTPCompressConv.cpp
index c35b0dcac..2821c9aed 100644
--- a/netwerk/streamconv/converters/nsHTTPCompressConv.cpp
+++ b/netwerk/streamconv/converters/nsHTTPCompressConv.cpp
@@ -15,8 +15,10 @@
#include "nsThreadUtils.h"
#include "mozilla/Preferences.h"
#include "mozilla/Logging.h"
+#include "mozilla/UniquePtrExtensions.h"
#include "nsIForcePendingChannel.h"
#include "nsIRequest.h"
+#include <inttypes.h>
// brotli headers
#include "state.h"