summaryrefslogtreecommitdiff
path: root/als/AlsSensor.cpp
diff options
context:
space:
mode:
authorAndriy Naborskyy <andriyn@google.com>2015-09-04 09:03:30 -0700
committerAndriy Naborskyy <andriyn@google.com>2015-11-12 10:27:10 -0800
commit968fe44f5842833f1cb1b6a26178f600cbad7b82 (patch)
tree1878c9bb896fcac8d66b535b7ffa1c623b7b71d8 /als/AlsSensor.cpp
parent50adf5f56401c999901f9cec68dd7726e61c8ca8 (diff)
downloadsensors-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.cpp1
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>