liblog: add pthread.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: Ib99f0de4aac64134c21c0ee09f7ea576ebd0fe9e
This commit is contained in:
parent
1bacb2c389
commit
824ef9ade6
|
@ -1,10 +1,10 @@
|
|||
/*Special log.h file for VNDK linking modules*/
|
||||
|
||||
#ifndef _LIBS_LOG_LOG_H
|
||||
#define _LIBS_LOG_LOG_H
|
||||
#pragma once
|
||||
|
||||
/* Historically vendors have depended on these headers being included. */
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <android/log.h>
|
||||
|
@ -25,5 +25,3 @@
|
|||
#ifndef LOG_TAG
|
||||
#define LOG_TAG NULL
|
||||
#endif
|
||||
|
||||
#endif /*_LIBS_LOG_LOG_H*/
|
||||
|
|
Loading…
Reference in New Issue