Commit: 2af0c998acaba11fd23a6b30abd9753af8719730
Parent: b9fb944a844e164fbb647e0fd1cd5ddd40fca988
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-08-22 11:05:51
Tree: 4d84ae45cb82f4d147fb1f66b4f88e33e6c5b121

android: Fix header include Since Android KitKat we can use sys/prctl.h and sys/capability.h as specified in the manual page. Fixes also build warnings: ... warning: implicit declaration of function 'prctl' [-Wimplicit-function-declaration] if (prctl(PR_SET_KEEPCAPS, 1) < 0) { ^ ...

Diffstat

M android/main.c | 4 +- - -

1 files changed, 1 insertions(+), 3 deletions(-)

View Full Diff | Patch