Add header that declares atomic primitives

It fixes a compilation issue:

/fdevent/fdevent_poll.cpp -o core/adb/fdevent/fdevent_poll.cpp.o
In file included from core/adb/fdevent/fdevent_poll.cpp:20:
In file included from core/adb/fdevent/fdevent_poll.h:29:
core/adb/fdevent/fdevent.h:106:10: error: no template named 'atomic' in namespace 'std'
    std::atomic<bool> terminate_loop_ = false;
    ~~~~~^

Change-Id: I5305a69a50e2638f514c5a7d47a9612b8ee38c69
This commit is contained in:
Anatol Pomazau 2019-08-08 14:45:12 -07:00 committed by Anatol Pomozov
parent 6c4cfd6af5
commit 7b2ff6debc
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include <stddef.h>
#include <stdint.h>
#include <atomic>
#include <chrono>
#include <deque>
#include <functional>