summaryrefslogtreecommitdiffstats
path: root/libion
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-10-17 14:28:00 -0700
committerMark Salyzyn <salyzyn@google.com>2016-10-20 08:11:39 -0700
commitcfd5b080af8de527d768f0ff7902c26af8d49307 (patch)
tree32295b3aeb6ba8a116592576939348d09814b0be /libion
parent1edd61ce5d2f34ff34d015643b5915b3b1c186e8 (diff)
downloadcore-cfd5b080af8de527d768f0ff7902c26af8d49307.tar.gz
core-cfd5b080af8de527d768f0ff7902c26af8d49307.tar.bz2
core-cfd5b080af8de527d768f0ff7902c26af8d49307.zip
system/core: preparation to pull back interfaces from android/log.h
Point to log/log.h where necessary, define LOG_TAG where necessary. Accept that private/android_logger.h is suitable replacement for log/logger.h and android/log.h. Correct liblog/README Effectively a cleanup and controlled select revert of 'system/core: drop or replace log/logger.h' and 'system/core: Replace log/log.h with android/log.h'. Test: compile Bug: 30465923 Change-Id: Ic2ad157bad6f5efe2c6af293a73bb753300b17a2
Diffstat (limited to 'libion')
-rw-r--r--libion/ion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libion/ion.c b/libion/ion.c
index 424776a3c..4565efb80 100644
--- a/libion/ion.c
+++ b/libion/ion.c
@@ -27,6 +27,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/types.h>
+#include <unistd.h>
#include <android/log.h>
#include <ion/ion.h>