summaryrefslogtreecommitdiff
path: root/netwerk
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
parent7db74bdc3af728fdac2175498a2b36b3fafbe09a (diff)
downloaduxp-822f8dad95df567460f6816d4421cf27753ff717.tar.gz
Issue #80 - De-unify netwerk/streamconv
Diffstat (limited to 'netwerk')
-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 10354357be..4c0d177c5a 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 c35b0dcace..2821c9aed6 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"