[Lldb-commits] [lldb] r285710 - Fix RHEL 6 build with missing cerrno and some other Include What You Use warnings.

Eugene Zelenko via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 1 10:11:10 PDT 2016


Author: eugenezelenko
Date: Tue Nov  1 12:11:10 2016
New Revision: 285710

URL: http://llvm.org/viewvc/llvm-project?rev=285710&view=rev
Log:
Fix RHEL 6 build with missing cerrno and some other Include What You Use warnings.

Differential revision: https://reviews.llvm.org/D26171

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

Modified: lldb/trunk/source/Host/posix/MainLoopPosix.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/posix/MainLoopPosix.cpp?rev=285710&r1=285709&r2=285710&view=diff
==============================================================================
--- lldb/trunk/source/Host/posix/MainLoopPosix.cpp (original)
+++ lldb/trunk/source/Host/posix/MainLoopPosix.cpp Tue Nov  1 12:11:10 2016
@@ -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;




More information about the lldb-commits mailing list