diff options
author | Elliott Hughes <enh@google.com> | 2014-12-14 16:51:36 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-12-14 16:51:36 -0800 |
commit | 6acf3d7703cbbb7ca0585599aa731996e54bc726 (patch) | |
tree | 21416ff755619ecce5caacb8fba8b75936bce6de /libcutils | |
parent | 48d7489e855df4126aee962087d3adaa763b26fe (diff) | |
download | system_core-6acf3d7703cbbb7ca0585599aa731996e54bc726.zip system_core-6acf3d7703cbbb7ca0585599aa731996e54bc726.tar.gz system_core-6acf3d7703cbbb7ca0585599aa731996e54bc726.tar.bz2 |
HAVE_ANDROID_OS implies that you have <pthread.h> and <sched.h>.
Change-Id: Ica7940c00d1d5da9d50711fd138dd459deec9b6d
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/sched_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/sched_policy.c b/libcutils/sched_policy.c index d3cedd4..2a9d96b 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> |