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

Commit af4885a4 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix Mac build.

I knew I should have created a new library that doesn't build for the
Mac or Windows rather than adding to libutils...

Change-Id: I7c07eaa93affb7e83d4da384f03652c39065562a
parent 6974ba4e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@
#include <sys/stat.h>
#include <sys/types.h>

#include <utils/Compat.h> // For TEMP_FAILURE_RETRY on Darwin.

bool android::ReadFileToString(const std::string& path, std::string* content) {
  content->clear();