From 4999914c191938e53f540b969dcde174c92e1523 Mon Sep 17 00:00:00 2001 From: Olli Pettay Date: Fri, 3 Feb 2017 00:11:00 +0200 Subject: [PATCH] Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE --- dom/base/nsJSEnvironment.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp index 59b944e5947e..af44f2d8815e 100644 --- a/dom/base/nsJSEnvironment.cpp +++ b/dom/base/nsJSEnvironment.cpp @@ -38,7 +38,12 @@ #include "nsIXULRuntime.h" #include "nsTextFormatter.h" #include "ScriptSettings.h" -#include +#ifdef XP_WIN +#include +#define getpid _getpid +#else +#include // for getpid() +#endif #include "xpcpublic.h" #include "jsapi.h"