fix windows SDK build

Change-Id: I2c563b20197803cafa91214aeff2c06fc0c75580
This commit is contained in:
Brad Fitzpatrick 2010-05-08 11:51:13 -07:00
parent e43c248316
commit 86b121523d

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