From 2af0c998acaba11fd23a6b30abd9753af8719730 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 20 Aug 2014 16:06:47 +0300 Subject: [PATCH] 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) { ^ ... --- android/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/main.c b/android/main.c index 0a0c15080..529978961 100644 --- a/android/main.c +++ b/android/main.c @@ -36,10 +36,8 @@ #include #include -#if defined(ANDROID) +#include #include -#include -#endif #include -- 2.47.3