Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e07d77e4 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

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

Change-Id: I708da00e36a9da8be9184c451453774be6b78c06
parent 923e7408
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -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