Really fix Mac build.

This reverts commit 66bfb9adac, and
instead includes a header that has a definition of TEMP_FAILURE_RETRY
for macOS.

Bug: http://b/181852591
Test: N/A
Change-Id: I63ccdcb58a2b2806217e3faedde9ba33936c8189
This commit is contained in:
Elliott Hughes 2021-03-08 18:50:59 +00:00
parent 7c98b89886
commit 39d6c8eef8
2 changed files with 3 additions and 5 deletions

View File

@ -170,14 +170,10 @@ cc_library {
linux_bionic: {
enabled: true,
},
linux: {
srcs: [
"fs_config.cpp",
],
},
not_windows: {
srcs: libcutils_nonwindows_sources + [
"ashmem-host.cpp",
"fs_config.cpp",
"trace-host.cpp",
],
},
@ -197,6 +193,7 @@ cc_library {
srcs: libcutils_nonwindows_sources + [
"android_reboot.cpp",
"ashmem-dev.cpp",
"fs_config.cpp",
"klog.cpp",
"partition_utils.cpp",
"qtaguid.cpp",

View File

@ -35,6 +35,7 @@
#include <string>
#include <android-base/strings.h>
#include <cutils/fs.h>
#include <log/log.h>
#include <private/android_filesystem_config.h>