summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Process.c b/Process.c
index 267d1733..1962c5d0 100644
--- a/Process.c
+++ b/Process.c
@@ -27,6 +27,11 @@ in the source distribution for its full text.
#include <time.h>
#include <assert.h>
+#ifdef __ANDROID__
+#define SYS_ioprio_get __NR_ioprio_get
+#define SYS_ioprio_set __NR_ioprio_set
+#endif
+
// On Linux, this works only with glibc 2.1+. On earlier versions
// the behavior is similar to have a hardcoded page size.
#ifndef PAGE_SIZE