From f4362ccdd513c0c2b6d3bb17a50b0ef114d59557 Mon Sep 17 00:00:00 2001 From: Ruchi Kandoi Date: Wed, 23 Apr 2014 17:32:55 -0700 Subject: [PATCH] Fix build problems caused by commit: 422852ef5c0c2b0b5e031f80f480486df3d185a0 for non-linux hosts. Change-Id: I00b9c99b9d9d072f19549b3a9970a27e75cd49b7 Signed-off-by: Ruchi Kandoi --- libcutils/sched_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcutils/sched_policy.c b/libcutils/sched_policy.c index bc49e8841..7c6584397 100644 --- a/libcutils/sched_policy.c +++ b/libcutils/sched_policy.c @@ -26,7 +26,6 @@ #include #include #include -#include /* Re-map SP_DEFAULT to the system default policy, and leave other values unchanged. * Call this any place a SchedPolicy is used as an input parameter. @@ -39,6 +38,7 @@ static inline SchedPolicy _policy(SchedPolicy p) #if defined(HAVE_ANDROID_OS) && defined(HAVE_SCHED_H) && defined(HAVE_PTHREADS) +#include #include #include