summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libutils/file.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/file.cpp b/libutils/file.cpp
index 15bda7f5f..aa35ff242 100644
--- a/libutils/file.cpp
+++ b/libutils/file.cpp
@@ -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();