summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/binder/Binder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/binder/Binder.h b/include/binder/Binder.h
index ba3ac4b..16f2c4a 100644
--- a/include/binder/Binder.h
+++ b/include/binder/Binder.h
@@ -17,6 +17,7 @@
#ifndef ANDROID_BINDER_H
#define ANDROID_BINDER_H
+#include <stdatomic.h>
#include <binder/IBinder.h>
// ---------------------------------------------------------------------------
@@ -69,7 +70,7 @@ private:
class Extras;
- Extras* mExtras;
+ atomic_uintptr_t mExtras; // should be atomic<Extras *>
void* mReserved0;
};