Commit: 5619f854f9f6d60d9bb8f361fe0d8e111ea6c92f
Parent: 63c3679a819205b03b2e8f9ab3d641eccc7f5aaf
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-10-23 15:58:29
Tree: 9d0d9a9c43fb72276118de600668084a94b49aae

android: Fix build error for Android Android uses functions and defines from sys/capability.h which requires additional include. However file capability.h shows up in bionic in version Android 4.3, therefore we do check PLATFORM_SDK_VERSION to no break builds of previous Android versions. In previous Android version unistd.h contain this functionality.

Diffstat

M android/Android.mk | 3 ++-
M android/main.c | 6 ++++++

2 files changed, 8 insertions(+), 1 deletions(-)

View Full Diff | Patch