commit | 238d904f2d6b4d0a84ca2bef6a473389adc177c2 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Dec 21 13:09:30 2021 -0800 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jan 04 20:15:45 2022 +0000 |
tree | 717a9072255a84738838f8a75c06e7e44d96344c | |
parent | d76a8ac551b2e922062e929ea0e78443c826e989 [diff] [blame] |
Use fcntl.h instead of sys/fcntl.h Use the standard fcntl.h instead of the implementation detail sys/fcntl.h to fix building against musl libc. Bug: 190084016 Test: m USE_HOST_MUSL=true host-native Change-Id: I73df399af21309e1abc2277e9687bba7a857d4fc
diff --git a/aosp/update_attempter_android_unittest.cc b/aosp/update_attempter_android_unittest.cc index a3f25b9..458c224 100644 --- a/aosp/update_attempter_android_unittest.cc +++ b/aosp/update_attempter_android_unittest.cc
@@ -20,7 +20,7 @@ #include <string> #include <utility> -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/sendfile.h> #include <unistd.h>