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

Change-Id: Ica7940c00d1d5da9d50711fd138dd459deec9b6d
This commit is contained in:
Elliott Hughes 2014-12-14 16:51:36 -08:00
parent 48d7489e85
commit 6acf3d7703
1 changed files with 1 additions and 1 deletions

View File

@ -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>