summaryrefslogtreecommitdiffstats
path: root/tools/aidl
diff options
context:
space:
mode:
authorAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-10-21 23:52:01 +0400
committerAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-10-21 23:52:01 +0400
commit0aa7fe6876d533610b4b993035030b946cc32e4c (patch)
tree21f8d4a99641fc6184fcbfb86eec696242dba6ab /tools/aidl
parent54b6cfa9a9e5b861a9930af873580d6dc20f773c (diff)
downloadframeworks_base-0aa7fe6876d533610b4b993035030b946cc32e4c.zip
frameworks_base-0aa7fe6876d533610b4b993035030b946cc32e4c.tar.gz
frameworks_base-0aa7fe6876d533610b4b993035030b946cc32e4c.tar.bz2
Add a few missing headers
Fixes build with gcc 4.3.2 Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'tools/aidl')
-rw-r--r--tools/aidl/aidl.cpp2
-rw-r--r--tools/aidl/generate_java.cpp1
-rw-r--r--tools/aidl/options.h1
-rw-r--r--tools/aidl/search_path.h1
4 files changed, 5 insertions, 0 deletions
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp
index 927d21e..dc61567 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 7f84ff4..affac0f 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 dc3c45a..e7e62ec 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 8d85d81..2bf94b1 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