From 3645195377b73bc4265868c26c123e443aaa71c6 Mon Sep 17 00:00:00 2001 From: Tias Guns Date: Sun, 10 Jun 2012 14:26:32 +0200 Subject: [PATCH] platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATH Signed-off-by: Tias Guns Signed-off-by: Denys Vlasenko --- include/platform.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/platform.h b/include/platform.h index d79cc97e5..ba534b284 100644 --- a/include/platform.h +++ b/include/platform.h @@ -334,6 +334,12 @@ typedef unsigned smalluint; # define MAXSYMLINKS SYMLOOP_MAX #endif +#if defined(ANDROID) || defined(__ANDROID__) +# define BB_ADDITIONAL_PATH ":/system/sbin:/system/bin:/system/xbin" +# define SYS_ioprio_set __NR_ioprio_set +# define SYS_ioprio_get __NR_ioprio_get +#endif + /* ---- Who misses what? ------------------------------------ */ -- 2.25.1