summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2017-04-25 12:24:28 -0700
committerDan Albert <danalbert@google.com>2017-04-25 15:16:13 -0700
commit43dcd0eaf0d0ce3bbf696cdfb9d4c6b76d882251 (patch)
tree88d8c688f0df0a33fbcdbee0dfb957f726afcd16
parentc6a6fd0516972fcca3b947a3584092e9c4c00e90 (diff)
downloadnative-43dcd0eaf0d0ce3bbf696cdfb9d4c6b76d882251.tar.gz
Add missing stdbool.h to sensor.h.
This got hacked into the NDK headers ages ago, but never got upstreamed to the frameworks. Test: make checkbuild Bug: https://github.com/android-ndk/ndk/issues/370 Merged-In: Id38cbc96633c1c61de36996c2dd9e6c2331bd6e7 Change-Id: Id38cbc96633c1c61de36996c2dd9e6c2331bd6e7
-rw-r--r--include/android/sensor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/android/sensor.h b/include/android/sensor.h
index 4a0081850f..6c12972e7a 100644
--- a/include/android/sensor.h
+++ b/include/android/sensor.h
@@ -48,6 +48,7 @@
*
*/
+#include <stdbool.h>
#include <sys/types.h>
#include <android/looper.h>