Bug 942921 - Explicitly include unistd.h for getpid() for non-Linux debug builds. r=smaug

This commit is contained in:
Jan Beich
2013-11-26 17:25:24 -05:00
parent 65b18657db
commit 68fc00572b
2 changed files with 4 additions and 4 deletions

View File

@@ -198,6 +198,8 @@ static NS_DEFINE_CID(kAppShellCID, NS_APPSHELL_CID);
#ifdef XP_WIN
#include <process.h>
#define getpid _getpid
#else
#include <unistd.h> // for getpid()
#endif
using namespace mozilla;