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:
Tom Cherry 2020-10-06 10:33:17 -07:00
parent 1bacb2c389
commit 824ef9ade6

View file

@ -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*/