From ea6d2197baff71a45f2bf95d3efbdef501cca76c Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Tue, 4 Mar 2014 16:43:41 +0100 Subject: aidl: Support building with updated host sysroot. This patch fixes tools/aidl/Type.cpp to compile with a more recent SDK host toolchain sysroot (that has not been submitted yet). The main issue is that the code uses ssize_t which is defined in , but didn't include the header directly. Apparently, this no longer compiles when using the Ubuntu 10.04 libc6-dev headers (the current SDK toolchain is based on Ubuntu 8.04), so perform an explicit include to fix this. NOTE: This doesn't break the Windows SDK build. Change-Id: Idcacf8f8d1c606b39bf8aa75ab409aa0c2a3cd5a --- tools/aidl/Type.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/aidl/Type.cpp b/tools/aidl/Type.cpp index d572af6..2267750 100644 --- a/tools/aidl/Type.cpp +++ b/tools/aidl/Type.cpp @@ -1,5 +1,7 @@ #include "Type.h" +#include + Namespace NAMES; Type* VOID_TYPE; -- cgit v1.1