[PATCH 3/6] android: fix 'ionice', add ioprio defines

Tias Guns tias at ulyssis.org
Sun Jun 3 14:43:05 UTC 2012


patch inspired by 'BusyBox Patch V1.0 (Vitaly Greck)'
https://code.google.com/p/busybox-android/downloads/detail?name=patch_busybox

Signed-off-by: Tias Guns <tias at ulyssis.org>
---
 include/platform.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/platform.h b/include/platform.h
index f250624..ba534b2 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -336,6 +336,8 @@ typedef unsigned smalluint;
 
 #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
 
 
-- 
1.7.10



More information about the busybox mailing list