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

Eugene Zelenko via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 31 16:00:17 PDT 2016


Eugene.Zelenko created this revision.
Eugene.Zelenko added reviewers: labath, zturner.
Eugene.Zelenko added a subscriber: lldb-commits.
Eugene.Zelenko set the repository for this revision to rL LLVM.

Build problem happens because of errno.


Repository:
  rL LLVM

https://reviews.llvm.org/D26171

Files:
  lldb-svn.src/source/Host/posix/MainLoopPosix.cpp


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26171.76495.patch
Type: text/x-patch
Size: 623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161031/d741d12b/attachment.bin>


More information about the lldb-commits mailing list