diff options
author | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-10-22 02:05:55 +0400 |
---|---|---|
committer | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-10-22 02:05:55 +0400 |
commit | 862bfdba159580f825af563b8e283842e28d140c (patch) | |
tree | 7f0ae6af123e87ee0dc02d8d9852e45ecf3171ed /tools/localize | |
parent | 0aa7fe6876d533610b4b993035030b946cc32e4c (diff) | |
download | frameworks_base-862bfdba159580f825af563b8e283842e28d140c.zip frameworks_base-862bfdba159580f825af563b8e283842e28d140c.tar.gz frameworks_base-862bfdba159580f825af563b8e283842e28d140c.tar.bz2 |
Add a few missing headers.
Fixes build with gcc 4.3.2 on Debian.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'tools/localize')
-rw-r--r-- | tools/localize/Perforce.cpp | 2 | ||||
-rw-r--r-- | tools/localize/XLIFFFile.cpp | 1 | ||||
-rw-r--r-- | tools/localize/XMLHandler.cpp | 1 | ||||
-rw-r--r-- | tools/localize/XMLHandler.h | 1 | ||||
-rw-r--r-- | tools/localize/file_utils.cpp | 2 | ||||
-rw-r--r-- | tools/localize/localize.cpp | 1 |
6 files changed, 8 insertions, 0 deletions
diff --git a/tools/localize/Perforce.cpp b/tools/localize/Perforce.cpp index 3184dfc..c702690 100644 --- a/tools/localize/Perforce.cpp +++ b/tools/localize/Perforce.cpp @@ -3,6 +3,8 @@ #include <sstream> #include <sys/types.h> #include <unistd.h> +#include <stdlib.h> +#include <string.h> #include <sys/wait.h> using namespace std; diff --git a/tools/localize/XLIFFFile.cpp b/tools/localize/XLIFFFile.cpp index 5da05a2..51f81de 100644 --- a/tools/localize/XLIFFFile.cpp +++ b/tools/localize/XLIFFFile.cpp @@ -1,5 +1,6 @@ #include "XLIFFFile.h" +#include <algorithm> #include <sys/time.h> #include <time.h> diff --git a/tools/localize/XMLHandler.cpp b/tools/localize/XMLHandler.cpp index 64af7af..3fab211 100644 --- a/tools/localize/XMLHandler.cpp +++ b/tools/localize/XMLHandler.cpp @@ -1,5 +1,6 @@ #include "XMLHandler.h" +#include <algorithm> #include <expat.h> #include <stdio.h> #include <string.h> diff --git a/tools/localize/XMLHandler.h b/tools/localize/XMLHandler.h index 1130710..324385f 100644 --- a/tools/localize/XMLHandler.h +++ b/tools/localize/XMLHandler.h @@ -3,6 +3,7 @@ #include "SourcePos.h" +#include <algorithm> #include <string> #include <vector> #include <map> diff --git a/tools/localize/file_utils.cpp b/tools/localize/file_utils.cpp index 9431709..1cda7ec 100644 --- a/tools/localize/file_utils.cpp +++ b/tools/localize/file_utils.cpp @@ -3,6 +3,8 @@ #include <sys/fcntl.h> #include <sys/stat.h> #include <errno.h> +#include <string.h> +#include <stdlib.h> #include <host/Directories.h> #include "log.h" diff --git a/tools/localize/localize.cpp b/tools/localize/localize.cpp index d03c811..cdf338a 100644 --- a/tools/localize/localize.cpp +++ b/tools/localize/localize.cpp @@ -14,6 +14,7 @@ #include <sstream> #include <stdio.h> #include <string.h> +#include <stdlib.h> using namespace std; |