summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChing Tzung Lin <ctlin@google.com>2015-07-23 22:57:03 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-23 22:57:03 +0000
commitd4884e2f3c138a7cc881bb1fb34b672a1c9db595 (patch)
treebee4c5f2e9aea7239fb89cb241db66b872b4608d
parentf9df59a7ff292b536a557280cb8b2fc93eedabd0 (diff)
parent4fd217a1c6d149a826b7d6d09661d32cfecb6454 (diff)
downloadhardware_libhardware-d4884e2f3c138a7cc881bb1fb34b672a1c9db595.zip
hardware_libhardware-d4884e2f3c138a7cc881bb1fb34b672a1c9db595.tar.gz
hardware_libhardware-d4884e2f3c138a7cc881bb1fb34b672a1c9db595.tar.bz2
Merge "Fix compilation error on emerald-dev" into cw-e-dev
-rw-r--r--modules/sensors/multihal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/sensors/multihal.cpp b/modules/sensors/multihal.cpp
index cd67f6d..d26d168 100644
--- a/modules/sensors/multihal.cpp
+++ b/modules/sensors/multihal.cpp
@@ -34,6 +34,8 @@
#include <dlfcn.h>
#include <SensorEventQueue.h>
+#include <limits.h>
+#include <stdlib.h>
static const char* CONFIG_FILENAME = "/system/etc/sensors/hals.conf";
static const char* LEGAL_SUBHAL_PATH_PREFIX = "/system/lib/hw/";