diff options
author | 2022-09-22 14:31:24 +0200 | |
---|---|---|
committer | 2022-10-03 12:54:22 +0200 | |
commit | eaae22abb62e96530463c47b5c4d0448751b914c (patch) | |
tree | aea72231f7be277aa893ef6acb84c502e6a92ec2 | |
parent | 09e7c8bfc6256049fa4ffc9dcc1ae5a9701b8e15 (diff) |
adbd_auth: add missing headers to fix linux build
On Linux, trying to build `adbd` fails due to missing headers in
`adbd_auth.cpp` (tested on current Debian testing). Adding the `atomic`
and `optional` headers fixes this issue.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Test: build adbd for linux
Change-Id: I9344ee571acbd1cecbcf3d5897cc5521c8e1d95f
-rw-r--r-- | libs/adbd_auth/adbd_auth.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/adbd_auth/adbd_auth.cpp b/libs/adbd_auth/adbd_auth.cpp index 15bd5c3913..ebc74fb3d8 100644 --- a/libs/adbd_auth/adbd_auth.cpp +++ b/libs/adbd_auth/adbd_auth.cpp @@ -23,8 +23,10 @@ #include <sys/eventfd.h> #include <sys/uio.h> +#include <atomic> #include <chrono> #include <deque> +#include <optional> #include <string> #include <string_view> #include <tuple> |