commit | d4884e2f3c138a7cc881bb1fb34b672a1c9db595 | [log] [tgz] |
---|---|---|
author | Ching Tzung Lin <ctlin@google.com> | Thu Jul 23 22:57:03 2015 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jul 23 22:57:03 2015 +0000 |
tree | bee4c5f2e9aea7239fb89cb241db66b872b4608d | |
parent | f9df59a7ff292b536a557280cb8b2fc93eedabd0 [diff] | |
parent | 4fd217a1c6d149a826b7d6d09661d32cfecb6454 [diff] |
Merge "Fix compilation error on emerald-dev" into cw-e-dev
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/";