diff options
author | Andriy Naborskyy <andriyn@google.com> | 2015-09-04 09:03:30 -0700 |
---|---|---|
committer | Andriy Naborskyy <andriyn@google.com> | 2015-11-12 10:27:10 -0800 |
commit | 968fe44f5842833f1cb1b6a26178f600cbad7b82 (patch) | |
tree | 1878c9bb896fcac8d66b535b7ffa1c623b7b71d8 /als/AlsSensor.cpp | |
parent | 50adf5f56401c999901f9cec68dd7726e61c8ca8 (diff) | |
download | sensors-968fe44f5842833f1cb1b6a26178f600cbad7b82.tar.gz |
sensors: als & tilt: fix E build errors
Recognize M (version 6)
Fix LOG% macros to work with version >= L
Fix missing includes
BUG: 23034764
Change-Id: I069fe0c4efd720386f97dff656c4b90a1ec12ce4
Diffstat (limited to 'als/AlsSensor.cpp')
-rw-r--r-- | als/AlsSensor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/als/AlsSensor.cpp b/als/AlsSensor.cpp index 11837d5..a0f8c1a 100644 --- a/als/AlsSensor.cpp +++ b/als/AlsSensor.cpp @@ -18,6 +18,7 @@ #include <errno.h> #include <math.h> #include <stdlib.h> +#include <string.h> #include <poll.h> #include <unistd.h> #include <dirent.h> |