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

This commit is contained in:
Elliott Hughes 2014-12-15 01:40:53 +00:00 committed by Gerrit Code Review
commit fae953ebcc

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>