[bug-buddy] Fix build with GCC 4.4



commit c420d0e01be12458ea87febcb67a8256c787d3bc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 22 00:52:39 2009 +0200

    Fix build with GCC 4.4
    
    Fix the build with GCC 4.4, which has stricter rules for header
    dependencies.
---
 .../src/client/linux/handler/exception_handler.cc  |    1 +
 .../src/client/linux/handler/minidump_generator.cc |    1 +
 .../src/processor/postfix_evaluator-inl.h          |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/google-breakpad/src/client/linux/handler/exception_handler.cc b/google-breakpad/src/client/linux/handler/exception_handler.cc
index 62537f0..486c562 100644
--- a/google-breakpad/src/client/linux/handler/exception_handler.cc
+++ b/google-breakpad/src/client/linux/handler/exception_handler.cc
@@ -40,6 +40,7 @@
 #include <string.h>
 
 #include <cassert>
+#include <cstdio>
 #include <cstdlib>
 #include <ctime>
 #include <linux/limits.h>
diff --git a/google-breakpad/src/client/linux/handler/minidump_generator.cc b/google-breakpad/src/client/linux/handler/minidump_generator.cc
index 1bf02a8..e78c7bf 100644
--- a/google-breakpad/src/client/linux/handler/minidump_generator.cc
+++ b/google-breakpad/src/client/linux/handler/minidump_generator.cc
@@ -39,6 +39,7 @@
 #include <sys/wait.h>
 #include <string.h>
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <ctime>
diff --git a/google-breakpad/src/processor/postfix_evaluator-inl.h b/google-breakpad/src/processor/postfix_evaluator-inl.h
index aa0851d..84cdb96 100644
--- a/google-breakpad/src/processor/postfix_evaluator-inl.h
+++ b/google-breakpad/src/processor/postfix_evaluator-inl.h
@@ -39,6 +39,7 @@
 
 
 #include <sstream>
+#include <cstdio>
 
 #include "processor/postfix_evaluator.h"
 #include "google_breakpad/processor/memory_region.h"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]