From 824ef9ade64b57a756510133a4c412ac5863a526 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Tue, 6 Oct 2020 10:33:17 -0700 Subject: [PATCH] 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 --- liblog/include_vndk/log/log.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/liblog/include_vndk/log/log.h b/liblog/include_vndk/log/log.h index c305661bb..fee18c64f 100644 --- a/liblog/include_vndk/log/log.h +++ b/liblog/include_vndk/log/log.h @@ -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 +#include #include #include @@ -25,5 +25,3 @@ #ifndef LOG_TAG #define LOG_TAG NULL #endif - -#endif /*_LIBS_LOG_LOG_H*/