Mac bustage fix for bug 436998, r=mfinkle
authorGavin Sharp <gavin@mozilla.com>
Fri, 17 Apr 2009 18:13:05 -0400
changeset 27442 cffd84cbe5bb277df3a7fde133122007e273e10c
parent 27441 7694718fd556caad026400ceb1b8936274ba236d
child 27443 4e27daf94e4f7efea846742772da429df4b12643
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs436998
milestone1.9.2a1pre
Mac bustage fix for bug 436998, r=mfinkle
xulrunner/stub/nsXULStub.cpp
--- a/xulrunner/stub/nsXULStub.cpp
+++ b/xulrunner/stub/nsXULStub.cpp
@@ -49,16 +49,18 @@
 #include <windows.h>
 #include <io.h>
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf
 #define strcasecmp _stricmp
 #define PATH_SEPARATOR_CHAR '\\'
 #define R_OK 04
 #elif defined(XP_MACOSX)
+#include <unistd.h>
+#include <sys/stat.h>
 #include <CoreFoundation/CoreFoundation.h>
 #define PATH_SEPARATOR_CHAR '/'
 #elif defined (XP_OS2)
 #define INCL_DOS
 #define INCL_DOSMISC
 #define INCL_DOSERRORS
 #include <os2.h>
 #include <unistd.h>