Include <atomic> for std::atomic where needed

Fixes build on linux using clang 11
This commit is contained in:
Yuri D'Elia 2020-12-13 19:41:47 +01:00
parent e9ee88c397
commit 44f71f0ed1
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#include <pthread.h>
#endif
#include <atomic>
#include <condition_variable>
#include <mutex>
#include <tbb/parallel_for.h>

View file

@ -9,6 +9,7 @@
#include "hidapi.h"
#include <queue>
#include <atomic>
#include <thread>
#include <vector>
#include <chrono>