am ae3b05e8: am 67d82220: temporary hack to allow compilation of adreno driver
Merge commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba'
* commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba':
temporary hack to allow compilation of adreno driver
diff --git a/include/hardware/sensors_deprecated.h b/include/hardware/sensors_deprecated.h
index 7974788..ee667d6 100644
--- a/include/hardware/sensors_deprecated.h
+++ b/include/hardware/sensors_deprecated.h
@@ -29,6 +29,7 @@
float temperature;
float distance;
float light;
+ float pressure;
};
int64_t time;
uint32_t reserved;
diff --git a/tests/nusensors/nusensors.cpp b/tests/nusensors/nusensors.cpp
index 731fa09..29e2069 100644
--- a/tests/nusensors/nusensors.cpp
+++ b/tests/nusensors/nusensors.cpp
@@ -15,6 +15,7 @@
*/
#include <stdint.h>
+#include <string.h>
#include <sys/cdefs.h>
#include <sys/types.h>