summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChing Tzung Lin <ctlin@google.com>2015-07-23 10:18:06 -0700
committerChing Tzung Lin <ctlin@google.com>2015-07-23 10:18:06 -0700
commit4fd217a1c6d149a826b7d6d09661d32cfecb6454 (patch)
treec1fc3960eb8c68580d4a6ae9f4381ef80c4f7431
parentd95a340b9f74b38703e78b3e2e8bc43f49c3ebf8 (diff)
downloadhardware_libhardware-4fd217a1c6d149a826b7d6d09661d32cfecb6454.zip
hardware_libhardware-4fd217a1c6d149a826b7d6d09661d32cfecb6454.tar.gz
hardware_libhardware-4fd217a1c6d149a826b7d6d09661d32cfecb6454.tar.bz2
Fix compilation error on emerald-dev
Change-Id: I324fb9b1b54e31610fe4fdce8edbb6979e666cbb
-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/";