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

Commit 6acf3d77 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

HAVE_ANDROID_OS implies that you have <pthread.h> and <sched.h>.

Change-Id: Ica7940c00d1d5da9d50711fd138dd459deec9b6d
parent 48d7489e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ static inline SchedPolicy _policy(SchedPolicy p)
   return p == SP_DEFAULT ? SP_SYSTEM_DEFAULT : p;
}

#if defined(HAVE_ANDROID_OS) && defined(HAVE_SCHED_H) && defined(HAVE_PTHREADS)
#if defined(HAVE_ANDROID_OS)

#include <pthread.h>
#include <sched.h>