diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-06-24 19:14:17 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-06-24 19:14:17 -0700 |
commit | ad39eb0a2555762a1d9157f8017097579d14f39d (patch) | |
tree | a369954e9900fdb6a24bf4b2ecc209e22df23e42 /tools | |
parent | 5416d7c905e723a978ac29ccaf22a91b76e9d5c2 (diff) | |
parent | bdb087c9305d6d753444e1c0176a793c00f07840 (diff) | |
download | frameworks_base-ad39eb0a2555762a1d9157f8017097579d14f39d.zip frameworks_base-ad39eb0a2555762a1d9157f8017097579d14f39d.tar.gz frameworks_base-ad39eb0a2555762a1d9157f8017097579d14f39d.tar.bz2 |
Merge change 5302 into donut
* changes:
Add includes to enable host C++ tools to compile with GCC 4.4
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/localize_test.cpp | 1 | ||||
-rw-r--r-- | tools/localize/merge_res_and_xliff.cpp | 1 | ||||
-rw-r--r-- | tools/localize/merge_res_and_xliff_test.cpp | 2 | ||||
-rw-r--r-- | tools/localize/xmb.cpp | 1 |
9 files changed, 9 insertions, 1 deletions
diff --git a/tools/localize/Perforce.cpp b/tools/localize/Perforce.cpp index 3425668..1c644ed 100644 --- a/tools/localize/Perforce.cpp +++ b/tools/localize/Perforce.cpp @@ -1,6 +1,7 @@ #include "Perforce.h" #include "log.h" #include <string.h> +#include <cstdio> #include <stdlib.h> #include <sstream> #include <sys/types.h> diff --git a/tools/localize/SourcePos.cpp b/tools/localize/SourcePos.cpp index 9d7c5c6..2533f0a 100644 --- a/tools/localize/SourcePos.cpp +++ b/tools/localize/SourcePos.cpp @@ -1,6 +1,7 @@ #include "SourcePos.h" #include <stdarg.h> +#include <cstdio> #include <set> 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 8792b9e..293e50e 100644 --- a/tools/localize/file_utils.cpp +++ b/tools/localize/file_utils.cpp @@ -1,4 +1,5 @@ #include <string.h> +#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "file_utils.h" diff --git a/tools/localize/localize_test.cpp b/tools/localize/localize_test.cpp index 63d904c..678cad8 100644 --- a/tools/localize/localize_test.cpp +++ b/tools/localize/localize_test.cpp @@ -1,6 +1,7 @@ #include "XLIFFFile.h" #include "ValuesFile.h" #include "localize.h" +#include <stdio.h> int pseudolocalize_xliff(XLIFFFile* xliff, bool expand); diff --git a/tools/localize/merge_res_and_xliff.cpp b/tools/localize/merge_res_and_xliff.cpp index 58a6554..1fdaa0e 100644 --- a/tools/localize/merge_res_and_xliff.cpp +++ b/tools/localize/merge_res_and_xliff.cpp @@ -3,6 +3,7 @@ #include "file_utils.h" #include "Perforce.h" #include "log.h" +#include <stdio.h> static set<StringResource>::const_iterator find_id(const set<StringResource>& s, const string& id, int index) diff --git a/tools/localize/merge_res_and_xliff_test.cpp b/tools/localize/merge_res_and_xliff_test.cpp index 5a2b0f4..e4ab562 100644 --- a/tools/localize/merge_res_and_xliff_test.cpp +++ b/tools/localize/merge_res_and_xliff_test.cpp @@ -1,5 +1,5 @@ #include "merge_res_and_xliff.h" - +#include <stdio.h> int merge_test() diff --git a/tools/localize/xmb.cpp b/tools/localize/xmb.cpp index 236705f..d8f6ff0 100644 --- a/tools/localize/xmb.cpp +++ b/tools/localize/xmb.cpp @@ -7,6 +7,7 @@ #include "XLIFFFile.h" #include <map> +#include <cstdio> using namespace std; |