commit | 83ef3ca33d383b7901db3858a51e8a5f1cf83c72 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Sep 14 23:44:06 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Sep 14 23:44:06 2021 +0000 |
tree | 9caa5d8cae23e79a8c792007d54f0d8a40b699e3 | |
parent | 50f0c9a4f73b80592826040af04efe75160f8d75 [diff] | |
parent | 0e33c98e4821047dab3b330535255aa67bd48d1a [diff] |
Fix device/google/trout for compiling against musl am: 0e33c98e48 Original change: https://android-review.googlesource.com/c/device/google/trout/+/1826117 Change-Id: I232c663631a87da2488bfb354c2e5dbf861fce90
diff --git a/hal/vehicle/2.0/Utils.cpp b/hal/vehicle/2.0/Utils.cpp index 20f46b3..7d81b42 100644 --- a/hal/vehicle/2.0/Utils.cpp +++ b/hal/vehicle/2.0/Utils.cpp
@@ -23,6 +23,7 @@ #include <getopt.h> #include <stdlib.h> #include <string.h> +#include <sys/select.h> #include <unistd.h> #include <array> #include <climits>
diff --git a/hal/vehicle/2.0/Utils.h b/hal/vehicle/2.0/Utils.h index 7b8f15e..6ec5941 100644 --- a/hal/vehicle/2.0/Utils.h +++ b/hal/vehicle/2.0/Utils.h
@@ -17,6 +17,7 @@ #ifndef android_hardware_automotive_vehicle_V2_0_impl_virtualization_Utils_H_ #define android_hardware_automotive_vehicle_V2_0_impl_virtualization_Utils_H_ +#include <sys/time.h> #include <chrono> #include <optional> #include <string>