diff options
| author | Elliott Hughes <enh@google.com> | 2015-02-03 13:02:57 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2015-02-03 13:02:57 -0800 |
| commit | af4885a4a83ed28c3194131e80bd3b40bc03a2cc (patch) | |
| tree | 3567cea7e9f728610e78b0f015d331ae1f701448 /libutils | |
| parent | 6974ba4ed430ec3247c3a5c04a2263b4b04ff827 (diff) | |
| download | system_core-af4885a4a83ed28c3194131e80bd3b40bc03a2cc.zip system_core-af4885a4a83ed28c3194131e80bd3b40bc03a2cc.tar.gz system_core-af4885a4a83ed28c3194131e80bd3b40bc03a2cc.tar.bz2 | |
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
Diffstat (limited to 'libutils')
| -rw-r--r-- | libutils/file.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/file.cpp b/libutils/file.cpp index 15bda7f..aa35ff2 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(); |
