summaryrefslogtreecommitdiffstats
path: root/libsensors/ProximitySensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/ProximitySensor.cpp')
-rw-r--r--libsensors/ProximitySensor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsensors/ProximitySensor.cpp b/libsensors/ProximitySensor.cpp
index 9614f20..cc5780b 100644
--- a/libsensors/ProximitySensor.cpp
+++ b/libsensors/ProximitySensor.cpp
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <dirent.h>
#include <sys/select.h>
+#include <cstring>
#include <cutils/log.h>