commit | 14a1f0fa515cf9c2a0194fbc40ba45f877938ca5 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Jan 04 20:32:37 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jan 04 20:32:37 2022 +0000 |
tree | 717a9072255a84738838f8a75c06e7e44d96344c | |
parent | d2c06faf65810f9412bd49c1b8ed34f8220a6705 [diff] | |
parent | 238d904f2d6b4d0a84ca2bef6a473389adc177c2 [diff] |
Use fcntl.h instead of sys/fcntl.h am: 238d904f2d Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/1931289 Change-Id: If4d2caa8c63a10aa1d383f928c33c93e9fe50a8d
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>