Android bustage from bug 602891 part A, revision dc021bc9929f. getpid() required <unistd.h>
authorBenjamin Smedberg <benjamin@smedbergs.us>
Wed, 17 Nov 2010 18:14:11 -0500
changeset 57840 94e93142bfb6912bf49c8b5e1cdf5a4c799270ca
parent 57839 35f8ec6fa9e632272bdb876eba8b756d240342e6
child 57841 5edec88ca944fe4aab1264f3f419adf5e01cb8db
push id17034
push userbsmedberg@mozilla.com
push dateWed, 17 Nov 2010 23:16:47 +0000
treeherderautoland@5edec88ca944 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs602891
milestone2.0b8pre
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
Android bustage from bug 602891 part A, revision dc021bc9929f. getpid() required <unistd.h>
xpcom/glue/IntentionalCrash.h
--- a/xpcom/glue/IntentionalCrash.h
+++ b/xpcom/glue/IntentionalCrash.h
@@ -1,16 +1,18 @@
 #include <string>
 #include <sstream>
 #include <stdlib.h>
 #include <stdio.h>
 
 #ifdef XP_WIN
 #include <process.h>
 #define getpid _getpid
+#else
+#include <unistd.h>
 #endif
 
 #ifndef mozilla_IntentionalCrash_h
 #define mozilla_IntentionalCrash_h
 
 namespace mozilla {
 
 inline void