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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
--- base/memory/shared_memory.h.orig 2011-04-01 21:54:26.066717848 +0300
+++ base/memory/shared_memory.h 2011-04-01 21:55:14.292717813 +0300
@@ -10,6 +10,7 @@
#if defined(OS_POSIX)
#include <sys/types.h>
+#include <stdio.h>
#include <semaphore.h>
#include "base/file_descriptor_posix.h"
#endif
--- third_party/libjingle/source/talk/base/stream.h.orig 2011-04-01 22:16:30.129717654 +0300
+++ third_party/libjingle/source/talk/base/stream.h 2011-04-01 22:16:48.245715495 +0300
@@ -28,6 +28,7 @@
#ifndef TALK_BASE_STREAM_H__
#define TALK_BASE_STREAM_H__
+#include <stdio.h>
#include "talk/base/basictypes.h"
#include "talk/base/criticalsection.h"
#include "talk/base/logging.h"
--- media/filters/file_data_source.h.orig 2011-09-14 10:01:06.000000000 +0200
+++ media/filters/file_data_source.h 2011-09-26 19:08:17.000000000 +0200
@@ -5,6 +5,7 @@
#ifndef MEDIA_FILTERS_FILE_DATA_SOURCE_H_
#define MEDIA_FILTERS_FILE_DATA_SOURCE_H_
+#include <cstdio>
#include <string>
#include "base/gtest_prod_util.h"
--- content/public/common/child_process_sandbox_support_linux.h.orig 2013-10-11 19:30:28.000000000 +0200
+++ content/public/common/child_process_sandbox_support_linux.h 2013-10-16 15:29:00.000000000 +0200
@@ -7,6 +7,7 @@
#include <stdint.h>
#include <string>
+#include <sys/types.h>
#include "content/common/content_export.h"
--- third_party/ffmpeg/libavutil/cpu.c.orig 2013-11-16 01:26:14.000000000 +0100
+++ third_party/ffmpeg/libavutil/cpu.c 2013-11-19 00:24:53.000000000 +0100
@@ -21,6 +21,9 @@
#include "opt.h"
#include "common.h"
+/* TODO(rene) work around a compile error with GCC 4.6.4 on FreeBSD */
+#define __BSD_VISIBLE 1
+
#if HAVE_SCHED_GETAFFINITY
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
--- content/browser/browser_shutdown_profile_dumper.cc.orig 2014-02-20 15:28:24.000000000 -0500
+++ content/browser/browser_shutdown_profile_dumper.cc 2014-03-03 15:36:33.000000000 -0500
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdio.h>
+
#include "content/browser/browser_shutdown_profile_dumper.h"
#include "base/base_switches.h"
--- testing/perf/perf_test.cc 2014-03-03 12:59:30.000000000 -0500
+++ testing/perf/perf_test.cc.orig 2014-02-20 15:28:27.000000000 -0500
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdio.h>
+
#include "testing/perf/perf_test.h"
-#include <stdio.h>
-
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
--- ui/gfx/codec/jpeg_codec.cc.orig 2014-02-20 15:27:56.000000000 -0500
+++ ui/gfx/codec/jpeg_codec.cc 2014-03-03 14:33:42.000000000 -0500
@@ -15,6 +15,7 @@
#if defined(USE_SYSTEM_LIBJPEG)
#include <jpeglib.h>
#elif defined(USE_LIBJPEG_TURBO)
+#include <stdio.h>
#include "third_party/libjpeg_turbo/jpeglib.h"
#else
#include "third_party/libjpeg/jpeglib.h"
|