Bug 1725145 - add header for getpid() for win platform. r=bwc
authorAndi-Bogdan Postelnicu <andi@mozilla.com>
Wed, 25 Aug 2021 10:46:15 +0000
changeset 589873 cea37aa8d28036f00c95b72b28c732ffeb80dbf5
parent 589872 1008e8b72ec3c513a64d3670cc15dc8e8e8e9742
child 589874 5f1e403be6df182fecc51a39a0bf72062ebe6c5e
push id38735
push usernbeleuzu@mozilla.com
push dateWed, 25 Aug 2021 15:39:54 +0000
treeherdermozilla-central@55a7e8179f28 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwc
bugs1725145
milestone93.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1725145 - add header for getpid() for win platform. r=bwc Differential Revision: https://phabricator.services.mozilla.com/D123545
dom/media/webrtc/jsapi/WebrtcGlobalInformation.cpp
--- a/dom/media/webrtc/jsapi/WebrtcGlobalInformation.cpp
+++ b/dom/media/webrtc/jsapi/WebrtcGlobalInformation.cpp
@@ -25,16 +25,20 @@
 #include "mozilla/ClearOnShutdown.h"
 
 #include "common/browser_logging/WebRtcLog.h"
 #include "transport/runnable_utils.h"
 #include "MediaTransportHandler.h"
 #include "PeerConnectionCtx.h"
 #include "PeerConnectionImpl.h"
 
+#ifdef XP_WIN
+#  include <process.h>
+#endif
+
 namespace mozilla::dom {
 
 typedef nsMainThreadPtrHandle<WebrtcGlobalStatisticsCallback>
     StatsRequestCallback;
 
 typedef nsMainThreadPtrHandle<WebrtcGlobalLoggingCallback> LogRequestCallback;
 
 class WebrtcContentParents {