summaryrefslogtreecommitdiff
path: root/libre-testing/icedove-libre/gcc47.patch
blob: 9824e6ab25dd4a730db6c39a49cabd0c4ed2f16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- mozilla-build.orig/mozilla/ipc/chromium/src/base/file_util.cc	2012-03-06 14:26:03.000000000 -0200
+++ mozilla-build/mozilla/ipc/chromium/src/base/file_util.cc		2012-04-04 18:50:02.094431651 -0300
@@ -8,7 +8,7 @@
 #include <io.h>
 #endif
 #include <stdio.h>
-#if defined(ANDROID)
+#if defined(ANDROID) || defined(OS_POSIX)
 #include <unistd.h>
 #endif

--- mozilla-build.orig/mozilla/ipc/chromium/src/base/message_pump_libevent.cc	2012-03-06 14:26:03.000000000 -0200
+++ mozilla-build/mozilla/ipc/chromium/src/base/message_pump_libevent.cc	2012-04-04 19:55:24.140455837 -0300
@@ -6,6 +6,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 #include "eintr_wrapper.h"
 #include "base/logging.h"

--- mozilla-build.orig/mozilla/ipc/chromium/src/base/file_util_linux.cc	2012-03-06 14:26:03.000000000 -0200
+++ mozilla-build/mozilla/ipc/chromium/src/base/file_util_linux.cc	2012-04-04 20:49:49.756138306 -0300
@@ -5,6 +5,7 @@
 #include "base/file_util.h"
 
 #include <fcntl.h>
+#include <unistd.h>
 
 #include <string>
 #include <vector>

--- mozilla-build.orig/mozilla/ipc/chromium/src/base/time_posix.cc	2012-03-06 14:26:03.000000000 -0200
+++ mozilla-build/mozilla/ipc/chromium/src/base/time_posix.cc		2012-04-04 20:55:12.678037291 -0300
@@ -8,6 +8,7 @@
 #include <mach/mach_time.h>
 #endif
 #include <sys/time.h>
+#include <unistd.h>
 #ifdef ANDROID
 #include <time64.h>
 #else