Don't duplicate uapi ioprio constants.

This code is only used in init and vold, so I suspect all the
conditional compilation could be moved into the .bp file instead, but
I'm just trying to clean up duplication today...

Test: treehugger
Change-Id: I97013f5de41e109a0cc377400c396145aed569db
This commit is contained in:
Elliott Hughes 2023-09-22 14:51:26 +00:00
parent d741c23288
commit 3369fe9cbb

View file

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