commit | 1528ec6303159de3fffdb0b96b92ffa3fd621a3e | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Jan 04 20:37:19 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jan 04 20:37:19 2022 +0000 |
tree | 717a9072255a84738838f8a75c06e7e44d96344c | |
parent | b442f5b8aeb0a46870a646df9df9f8e01385ee8b [diff] | |
parent | 14a1f0fa515cf9c2a0194fbc40ba45f877938ca5 [diff] |
Use fcntl.h instead of sys/fcntl.h am: 238d904f2d am: 14a1f0fa51 Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/1931289 Change-Id: Iee23bb02bdf4f38e0a2b9d71bd2f19ee40969048
diff --git a/aosp/cow_converter.cc b/aosp/cow_converter.cc index f4ac5b0..2f93e3a 100644 --- a/aosp/cow_converter.cc +++ b/aosp/cow_converter.cc
@@ -14,6 +14,7 @@ // limitations under the License. // +#include <fcntl.h> #include <stdio.h> #include <string.h> @@ -21,7 +22,6 @@ #include <cstdio> #include <memory> -#include <sys/fcntl.h> #include <sys/mman.h> #include <sys/stat.h>
diff --git a/aosp/update_attempter_android_integration_test.cc b/aosp/update_attempter_android_integration_test.cc index 16f8337..3ce06eb 100644 --- a/aosp/update_attempter_android_integration_test.cc +++ b/aosp/update_attempter_android_integration_test.cc
@@ -19,7 +19,7 @@ #include <string> #include <utility> -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/sendfile.h> #include <unistd.h>
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>