am 86b12152: fix windows SDK build

Merge commit '86b121523d7d3634bf5ac07b6e238b36b3e75f0a' into froyo-plus-aosp

* commit '86b121523d7d3634bf5ac07b6e238b36b3e75f0a':
  fix windows SDK build
This commit is contained in:
Brad Fitzpatrick 2010-05-10 09:43:55 -07:00 committed by Android Git Automerger
commit 25ffaff6b1

View file

@ -22,14 +22,15 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#define LOG_TAG "SchedPolicy"
#include "cutils/log.h"
#ifdef HAVE_SCHED_H
#ifdef HAVE_PTHREADS
#include <sched.h>
#include <pthread.h>
#include <cutils/sched_policy.h>
@ -272,4 +273,5 @@ int set_sched_policy(int tid, SchedPolicy policy)
return 0;
}
#endif /* HAVE_PTHREADS */
#endif /* HAVE_SCHED_H */