Use <sys/prctl.h> instead of <linux/prctl.h>.

Change-Id: I708da00e36a9da8be9184c451453774be6b78c06
This commit is contained in:
Elliott Hughes 2014-07-11 20:57:03 -07:00
parent 923e740879
commit e07d77e422
1 changed files with 2 additions and 10 deletions

View File

@ -39,17 +39,9 @@ static inline SchedPolicy _policy(SchedPolicy p)
#if defined(HAVE_ANDROID_OS) && defined(HAVE_SCHED_H) && defined(HAVE_PTHREADS)
#include <linux/prctl.h>
#include <sched.h>
#include <pthread.h>
#ifndef SCHED_NORMAL
#define SCHED_NORMAL 0
#endif
#ifndef SCHED_BATCH
#define SCHED_BATCH 3
#endif
#include <sched.h>
#include <sys/prctl.h>
#define POLICY_DEBUG 0