liblog: add unistd.h to vndk log/log.h
Too many vendors assume that this is included, and it's not worth the effort to clean up. Bug: 165825252 Test: build Change-Id: I42fb32be7e5e3201dfc5c58734e3ef5b9251faf1
This commit is contained in:
parent
f99f09eeda
commit
136e4f6da6
1 changed files with 2 additions and 1 deletions
|
@ -3,8 +3,9 @@
|
|||
#ifndef _LIBS_LOG_LOG_H
|
||||
#define _LIBS_LOG_LOG_H
|
||||
|
||||
/* Historically vendors have depended on this header being included. */
|
||||
/* Historically vendors have depended on these headers being included. */
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <log/log_id.h>
|
||||
|
|
Loading…
Reference in a new issue