diff options
author | Scott Tsai <scottt.tw@gmail.com> | 2009-03-21 08:08:36 +0800 |
---|---|---|
committer | Scott Tsai <scottt.tw@gmail.com> | 2009-03-21 08:08:36 +0800 |
commit | 8a2b9083e364ffd46f56362d46af2aeb4718d325 (patch) | |
tree | e17f9853a97c0c05851b88cb565704897d199f0e /tools | |
parent | bfc9f4f8308b6ca68f123ef0743350471ca34b2a (diff) | |
download | frameworks_base-8a2b9083e364ffd46f56362d46af2aeb4718d325.zip frameworks_base-8a2b9083e364ffd46f56362d46af2aeb4718d325.tar.gz frameworks_base-8a2b9083e364ffd46f56362d46af2aeb4718d325.tar.bz2 |
localize: include <cstdio> in files that uses the printf family of
functions to make the code build on gcc-4.4
gcc-4.4 further cleaned up header include dependencies so that e.x.
including <iostream> no longer pulls in printf.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/localize/Perforce.cpp | 1 | ||||
-rw-r--r-- | tools/localize/SourcePos.cpp | 1 | ||||
-rw-r--r-- | tools/localize/Values.cpp | 1 | ||||
-rw-r--r-- | tools/localize/XLIFFFile.cpp | 1 | ||||
-rw-r--r-- | tools/localize/file_utils.cpp | 1 | ||||
-rw-r--r-- | tools/localize/file_utils.h | 1 | ||||
-rw-r--r-- | tools/localize/localize_test.cpp | 1 | ||||
-rw-r--r-- | tools/localize/merge_res_and_xliff_test.cpp | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/tools/localize/Perforce.cpp b/tools/localize/Perforce.cpp index 25c336c..a7f301e 100644 --- a/tools/localize/Perforce.cpp +++ b/tools/localize/Perforce.cpp @@ -8,6 +8,7 @@ #include <stdlib.h> #include <string.h> #include <sys/wait.h> +#include <cstdio> using namespace std; diff --git a/tools/localize/SourcePos.cpp b/tools/localize/SourcePos.cpp index 9d7c5c6..dd54f3a 100644 --- a/tools/localize/SourcePos.cpp +++ b/tools/localize/SourcePos.cpp @@ -2,6 +2,7 @@ #include <stdarg.h> #include <set> +#include <cstdio> using namespace std; diff --git a/tools/localize/Values.cpp b/tools/localize/Values.cpp index e396f8b..8623b97 100644 --- a/tools/localize/Values.cpp +++ b/tools/localize/Values.cpp @@ -1,5 +1,6 @@ #include "Values.h" #include <stdlib.h> +#include <cstdio> // ===================================================================================== diff --git a/tools/localize/XLIFFFile.cpp b/tools/localize/XLIFFFile.cpp index 51f81de..4e217d9 100644 --- a/tools/localize/XLIFFFile.cpp +++ b/tools/localize/XLIFFFile.cpp @@ -3,6 +3,7 @@ #include <algorithm> #include <sys/time.h> #include <time.h> +#include <cstdio> const char* const XLIFF_XMLNS = "urn:oasis:names:tc:xliff:document:1.2"; diff --git a/tools/localize/file_utils.cpp b/tools/localize/file_utils.cpp index dc8e86b..c0981d8 100644 --- a/tools/localize/file_utils.cpp +++ b/tools/localize/file_utils.cpp @@ -8,6 +8,7 @@ #include <errno.h> #include <string.h> #include <stdlib.h> +#include <cstdio> #include <host/Directories.h> #include "log.h" diff --git a/tools/localize/file_utils.h b/tools/localize/file_utils.h index 3b3fa21..7706587 100644 --- a/tools/localize/file_utils.h +++ b/tools/localize/file_utils.h @@ -4,6 +4,7 @@ #include "ValuesFile.h" #include "Configuration.h" #include <string> +#include <cstdio> using namespace std; diff --git a/tools/localize/localize_test.cpp b/tools/localize/localize_test.cpp index 63d904c..931ea95 100644 --- a/tools/localize/localize_test.cpp +++ b/tools/localize/localize_test.cpp @@ -1,3 +1,4 @@ +#include <cstdio> #include "XLIFFFile.h" #include "ValuesFile.h" #include "localize.h" diff --git a/tools/localize/merge_res_and_xliff_test.cpp b/tools/localize/merge_res_and_xliff_test.cpp index 5a2b0f4..f638a74 100644 --- a/tools/localize/merge_res_and_xliff_test.cpp +++ b/tools/localize/merge_res_and_xliff_test.cpp @@ -1,3 +1,4 @@ +#include <cstdio> #include "merge_res_and_xliff.h" |