[Lldb-commits] [PATCH] D26171: [LLDB] Fix RHEL 6 build and some Include What You Use warnings

Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 1 10:20:52 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL285710: Fix RHEL 6 build with missing cerrno and some other Include What You Useā€¦ (authored by eugenezelenko).

Changed prior to commit:
  https://reviews.llvm.org/D26171?vs=76495&id=76590#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26171

Files:
  lldb/trunk/source/Host/posix/MainLoopPosix.cpp


Index: lldb/trunk/source/Host/posix/MainLoopPosix.cpp
===================================================================
--- lldb/trunk/source/Host/posix/MainLoopPosix.cpp
+++ lldb/trunk/source/Host/posix/MainLoopPosix.cpp
@@ -8,10 +8,13 @@
 //===----------------------------------------------------------------------===//
 
 #include "lldb/Host/posix/MainLoopPosix.h"
-
-#include <vector>
-
 #include "lldb/Core/Error.h"
+#include <algorithm>
+#include <cassert>
+#include <cerrno>
+#include <csignal>
+#include <vector>
+#include <sys/select.h>
 
 using namespace lldb;
 using namespace lldb_private;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26171.76590.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161101/f9830eaf/attachment-0001.bin>


More information about the lldb-commits mailing list