Commit 4d84e6ef authored by Declan Moran's avatar Declan Moran

fix compiler error when building with gnu-5 toolchain (eg as currently shipped…

fix compiler error when building with gnu-5 toolchain (eg as currently shipped with crystax.org android ndk, and presumably soon with android studio).

"ts_perf.cpp ....error: 'errno' was not declared in this scope
      int err=errno;"
parent 8f4251fb
......@@ -41,6 +41,7 @@ static bool log_power_checkpoints;
#include <sys/syscall.h>
#include <pthread.h>
#include <cerrno>
static void setCurrentThreadAffinityMask(int mask)
{
pid_t pid=gettid();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment