Fix mac build

"errno.h" doesn't get included on mac so we need to do it explicitely.

system/core/libnativebridge/tests/CodeCacheExists_test.cpp:30:15: error:
use of undeclared identifier 'ENOENT'
      ASSERT_EQ(ENOENT, errno);

(cherry picked from commit bcd1a834d4)

Change-Id: Ib894e3a3912a943c61787461f127e4b11aacf212
This commit is contained in:
Nick Kralevich 2014-11-02 06:13:53 -08:00 committed by Calin Juravle
parent 4cafe2ff89
commit 3e05314026
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include "NativeBridgeTest.h"
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>

View File

@ -16,6 +16,7 @@
#include "NativeBridgeTest.h"
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>