--- libcutils/include/cutils/trace.h.orig 2019-07-17 19:54:09 UTC +++ libcutils/include/cutils/trace.h @@ -18,8 +18,14 @@ #define _LIBS_CUTILS_TRACE_H #include +#ifdef __cplusplus +#include +using std::atomic_bool; +using std::memory_order_acquire; +#else #include #include +#endif #include #include #include