am 86b12152: fix windows SDK build
Merge commit '86b121523d7d3634bf5ac07b6e238b36b3e75f0a' into froyo-plus-aosp * commit '86b121523d7d3634bf5ac07b6e238b36b3e75f0a': fix windows SDK build
This commit is contained in:
commit
25ffaff6b1
1 changed files with 3 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue