am b20e9851: am 25ffaff6: am 86b12152: fix windows SDK build

This commit is contained in:
Brad Fitzpatrick 2010-05-10 09:53:49 -07:00 committed by Android Git Automerger
commit cb6d5c1e54
1 changed files with 3 additions and 1 deletions

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 */