commit | 7297906e49c397df64cf365397d75054fc798e75 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue Jan 09 21:26:28 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jan 09 21:26:28 2024 +0000 |
tree | e5c2b83e4e689415dd24801f44039ebc159a573e | |
parent | 73d544063c67d3af20ba388de2bf7f013a28d13b [diff] | |
parent | b87cdae8d6afed87b168d014808ed383c23e5eec [diff] |
Merge "Add missing libc++ includes" into main
diff --git a/automotive/can/1.0/default/CanSocket.h b/automotive/can/1.0/default/CanSocket.h index fd956b5..f3e8e60 100644 --- a/automotive/can/1.0/default/CanSocket.h +++ b/automotive/can/1.0/default/CanSocket.h
@@ -22,6 +22,7 @@ #include <atomic> #include <chrono> +#include <functional> #include <thread> namespace android::hardware::automotive::can::V1_0::implementation {
diff --git a/automotive/can/1.0/default/libnetdevice/ifreqs.h b/automotive/can/1.0/default/libnetdevice/ifreqs.h index d8d6fe0..aa7030b 100644 --- a/automotive/can/1.0/default/libnetdevice/ifreqs.h +++ b/automotive/can/1.0/default/libnetdevice/ifreqs.h
@@ -18,6 +18,7 @@ #include <net/if.h> +#include <atomic> #include <string> namespace android::netdevice::ifreqs {
diff --git a/automotive/can/1.0/default/libnetdevice/libnetdevice.cpp b/automotive/can/1.0/default/libnetdevice/libnetdevice.cpp index fe749f6..413b4b1 100644 --- a/automotive/can/1.0/default/libnetdevice/libnetdevice.cpp +++ b/automotive/can/1.0/default/libnetdevice/libnetdevice.cpp
@@ -27,6 +27,8 @@ #include <linux/rtnetlink.h> #include <net/if.h> +#include <algorithm> +#include <iterator> #include <sstream> namespace android::netdevice {
diff --git a/automotive/can/1.0/default/libnl++/common.cpp b/automotive/can/1.0/default/libnl++/common.cpp index 23c2d94..1287bb5 100644 --- a/automotive/can/1.0/default/libnl++/common.cpp +++ b/automotive/can/1.0/default/libnl++/common.cpp
@@ -20,6 +20,8 @@ #include <net/if.h> +#include <algorithm> + namespace android::nl { unsigned int nametoindex(const std::string& ifname) {