Add ioprio values directly.

The ioprio.h header is not a uapi header, so remove it's use and
add the two values that this code needs to use.

Bug: 30072483
Change-Id: I5c8b6f40bd60a43f50ac26792f96d2fa3f6db020
This commit is contained in:
Christopher Ferris 2016-07-18 16:19:25 -07:00
parent ddbcecec3a
commit 84421d8475
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@
#include <cutils/iosched_policy.h>
#if defined(__ANDROID__)
#include <linux/ioprio.h>
#define IOPRIO_WHO_PROCESS (1)
#define IOPRIO_CLASS_SHIFT (13)
#include <sys/syscall.h>
#define __android_unused
#else