summaryrefslogtreecommitdiffstats
path: root/libcutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-15 02:00:31 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-12-15 02:00:31 +0000
commit27484f2e740950e5b6260b7c3e086f98f019317b (patch)
tree16e158417e0c192ee27fa80efd71c5c92605c56a /libcutils
parent3be2d3d87983fedbfefa5852b32a81dc45d6e1ae (diff)
parentfae953ebccfabfa500b3ebca93202063c8e3501d (diff)
downloadsystem_core-27484f2e740950e5b6260b7c3e086f98f019317b.zip
system_core-27484f2e740950e5b6260b7c3e086f98f019317b.tar.gz
system_core-27484f2e740950e5b6260b7c3e086f98f019317b.tar.bz2
am fae953eb: Merge "HAVE_ANDROID_OS implies that you have <pthread.h> and <sched.h>."
* commit 'fae953ebccfabfa500b3ebca93202063c8e3501d': HAVE_ANDROID_OS implies that you have <pthread.h> and <sched.h>.
Diffstat (limited to 'libcutils')
-rw-r--r--libcutils/sched_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/sched_policy.c b/libcutils/sched_policy.c
index e07bbbd..dfc8777 100644
--- a/libcutils/sched_policy.c
+++ b/libcutils/sched_policy.c
@@ -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>