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

Commit 3e053140 authored by Nick Kralevich's avatar Nick Kralevich Committed by Calin Juravle
Browse files

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 bcd1a834)

Change-Id: Ib894e3a3912a943c61787461f127e4b11aacf212
parent 4cafe2ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#include "NativeBridgeTest.h"

#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>

+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#include "NativeBridgeTest.h"

#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>