gcc 4.7 build fixes

This commit is contained in:
Martin Stransky 2012-02-06 11:38:32 +01:00
parent d7de898699
commit b97baab45c

View File

@ -49,3 +49,15 @@ diff -up mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc.file mozill
#include "eintr_wrapper.h" #include "eintr_wrapper.h"
#include "base/logging.h" #include "base/logging.h"
diff -up mozilla-beta/ipc/chromium/src/base/file_util.cc.old mozilla-beta/ipc/chromium/src/base/file_util.cc
--- mozilla-beta/ipc/chromium/src/base/file_util.cc.old 2012-01-25 13:48:11.000000000 +0100
+++ mozilla-beta/ipc/chromium/src/base/file_util.cc 2012-01-25 13:52:25.096659244 +0100
@@ -8,7 +8,7 @@
#include <io.h>
#endif
#include <stdio.h>
-#if defined(ANDROID)
+#if defined(ANDROID) || defined(OS_POSIX)
#include <unistd.h>
#endif