зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1740163 - Fix non-unified build errors in netwerk/dns/mdns/libmdns/. r=necko-reviewers,valentin
netwerk/dns/mdns/libmdns/MDNSResponderReply.cpp:41:14: error: use of undeclared identifier 'OnSocketThread' MOZ_ASSERT(OnSocketThread(), "not on socket thread"); netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.cpp:30:16: error: use of undeclared identifier 'NS_IsMainThread' MOZ_ASSERT(NS_IsMainThread()); Differential Revision: https://phabricator.services.mozilla.com/D130718
This commit is contained in:
Родитель
ea18332fb3
Коммит
ed64171a42
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "MDNSResponderReply.h"
|
||||
#include "mozilla/EndianUtils.h"
|
||||
#include "nsHttpHandler.h" // for OnSocketThread()
|
||||
#include "private/pprio.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
|
|
@ -40,8 +40,8 @@ XPCOM_MANIFESTS += [
|
|||
"components.conf",
|
||||
]
|
||||
|
||||
XPCOM_MANIFESTS += [
|
||||
"components.conf",
|
||||
LOCAL_INCLUDES += [
|
||||
"/netwerk/protocol/http", # for nsHttpHandler.h
|
||||
]
|
||||
|
||||
include("/ipc/chromium/chromium-config.mozbuild")
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsDNSServiceDiscovery.h"
|
||||
#include "MainThreadUtils.h"
|
||||
#include "MDNSResponderOperator.h"
|
||||
#include "nsICancelable.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче