summaryrefslogtreecommitdiff
path: root/xpcom/threads/nsProcess.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/threads/nsProcess.h')
-rw-r--r--xpcom/threads/nsProcess.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xpcom/threads/nsProcess.h b/xpcom/threads/nsProcess.h
index 21d28f1019..b9d0641770 100644
--- a/xpcom/threads/nsProcess.h
+++ b/xpcom/threads/nsProcess.h
@@ -19,7 +19,9 @@
#include "nsIWeakReferenceUtils.h"
#include "nsIObserver.h"
#include "nsString.h"
+#ifndef XP_MACOSX
#include "prproces.h"
+#endif
#if defined(PROCESSMODEL_WINAPI)
#include <windows.h>
#include <shellapi.h>
@@ -71,7 +73,7 @@ private:
int32_t mExitValue;
#if defined(PROCESSMODEL_WINAPI)
HANDLE mProcess;
-#else
+#elif !defined(XP_MACOSX)
PRProcess* mProcess;
#endif
};