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:
parent
4cafe2ff89
commit
3e05314026
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include "NativeBridgeTest.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include "NativeBridgeTest.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue