From b6dbe9a99c35b5dd101d45f220f95f6e9e85d15e Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 18 Jul 2017 13:14:01 +0000 Subject: Clean up lldb-types.h Summary: It defined a couple of types (condition_t) which we don't use anymore, as we have c++11 goodies now. I remove these definitions. Also it unnecessarily included a couple of headers which weren't necessary for it's operation. I remove these, and place the includes in the relevant files (usually .cpp, usually in Host code) which use them. This allows us to reduce namespace pollution in most of the lldb files which don't need the OS-specific definitions. Reviewers: zturner, jingham Subscribers: ki.stfu, lldb-commits Differential Revision: https://reviews.llvm.org/D35113 llvm-svn: 308304 --- lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp') diff --git a/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp b/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp index 105ef0f23d4..3797650105c 100644 --- a/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp +++ b/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp @@ -30,6 +30,7 @@ #ifndef LLDB_DISABLE_POSIX #include +#include #endif // C++ Includes -- cgit v1.2.3