diff options
author | 2008-10-21 23:52:01 +0400 | |
---|---|---|
committer | 2008-10-21 23:52:01 +0400 | |
commit | 0aa7fe6876d533610b4b993035030b946cc32e4c (patch) | |
tree | 21f8d4a99641fc6184fcbfb86eec696242dba6ab | |
parent | 54b6cfa9a9e5b861a9930af873580d6dc20f773c (diff) |
Add a few missing headers
Fixes build with gcc 4.3.2
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
-rw-r--r-- | tools/aidl/aidl.cpp | 2 | ||||
-rw-r--r-- | tools/aidl/generate_java.cpp | 1 | ||||
-rw-r--r-- | tools/aidl/options.h | 1 | ||||
-rw-r--r-- | tools/aidl/search_path.h | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp index 927d21e49af6..dc61567d8f3e 100644 --- a/tools/aidl/aidl.cpp +++ b/tools/aidl/aidl.cpp @@ -10,6 +10,8 @@ #include <sys/stat.h> #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <map> #ifdef HAVE_MS_C_RUNTIME diff --git a/tools/aidl/generate_java.cpp b/tools/aidl/generate_java.cpp index 7f84ff4425d1..affac0f4558f 100644 --- a/tools/aidl/generate_java.cpp +++ b/tools/aidl/generate_java.cpp @@ -1,6 +1,7 @@ #include "generate_java.h" #include "AST.h" #include "Type.h" +#include <string.h> #include <stdio.h> // ================================================= diff --git a/tools/aidl/options.h b/tools/aidl/options.h index dc3c45a395c7..e7e62ec4e1a6 100644 --- a/tools/aidl/options.h +++ b/tools/aidl/options.h @@ -1,6 +1,7 @@ #ifndef DEVICE_TOOLS_AIDL_H #define DEVICE_TOOLS_AIDL_H +#include <string.h> #include <string> #include <vector> diff --git a/tools/aidl/search_path.h b/tools/aidl/search_path.h index 8d85d813161e..2bf94b12bbf1 100644 --- a/tools/aidl/search_path.h +++ b/tools/aidl/search_path.h @@ -5,6 +5,7 @@ #if __cplusplus #include <vector> +#include <string> using namespace std; extern "C" { #endif |