chromium/chromium-20.0.1132.43-gcc-4.7.patch

57 lines
1.9 KiB
Diff
Raw Permalink Normal View History

Index: seccompsandbox/library.h
===================================================================
diff --git a/trunk/src/seccompsandbox/library.h b/trunk/src/seccompsandbox/library.h
--- a/trunk/src/seccompsandbox/library.h (revision 179)
+++ b/trunk/src/seccompsandbox/library.h (working copy)
@@ -12,6 +12,7 @@
#include <string>
#include <string.h>
#include <sys/mman.h>
+#include <sys/types.h>
#include "maps.h"
Index: ipc/ipc_platform_file.cc
===================================================================
diff --git a/trunk/src/ipc/ipc_platform_file.cc b/trunk/src/ipc/ipc_platform_file.cc
--- a/trunk/src/ipc/ipc_platform_file.cc (revision 132784)
+++ b/trunk/src/ipc/ipc_platform_file.cc (working copy)
@@ -4,7 +4,7 @@
#include "ipc/ipc_platform_file.h"
-#if defined(OS_ANDROID)
+#if defined(OS_ANDROID) || defined(OS_POSIX)
#include <unistd.h>
#endif
Index: base/message_pump_libevent.cc
===================================================================
diff --git a/trunk/src/base/message_pump_libevent.cc b/trunk/src/base/message_pump_libevent.cc
--- a/trunk/src/base/message_pump_libevent.cc (revision 132784)
+++ b/trunk/src/base/message_pump_libevent.cc (working copy)
@@ -6,6 +6,9 @@
#include <errno.h>
#include <fcntl.h>
+#if defined(OS_POSIX)
+#include <unistd.h>
+#endif
#include "base/auto_reset.h"
#include "base/compiler_specific.h"
Index: chrome/browser/policy/policy_path_parser_linux.cc
===================================================================
diff --git a/trunk/src/chrome/browser/policy/policy_path_parser_linux.cc b/trunk/src/chrome/browser/policy/policy_path_parser_linux.cc
--- a/trunk/src/chrome/browser/policy/policy_path_parser_linux.cc (revision 132784)
+++ b/trunk/src/chrome/browser/policy/policy_path_parser_linux.cc (working copy)
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include <pwd.h>
+#include <sys/types.h>
+#include <unistd.h>
#include "chrome/browser/policy/policy_path_parser.h"