summaryrefslogtreecommitdiffstats
path: root/netwerk/streamconv
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-18 12:13:22 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-18 12:13:22 +0000
commit822f8dad95df567460f6816d4421cf27753ff717 (patch)
tree6d0c8302bc7dbace33f5625a9b5c7aeee2af684d /netwerk/streamconv
parent7db74bdc3af728fdac2175498a2b36b3fafbe09a (diff)
downloadUXP-822f8dad95df567460f6816d4421cf27753ff717.tar
UXP-822f8dad95df567460f6816d4421cf27753ff717.tar.gz
UXP-822f8dad95df567460f6816d4421cf27753ff717.tar.lz
UXP-822f8dad95df567460f6816d4421cf27753ff717.tar.xz
UXP-822f8dad95df567460f6816d4421cf27753ff717.zip
Issue #80 - De-unify netwerk/streamconv
Diffstat (limited to '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"