Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86b12152 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick
Browse files

fix windows SDK build

Change-Id: I2c563b20197803cafa91214aeff2c06fc0c75580
parent e43c2483
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 */