Fix RHEL 6 build with missing cerrno and some other Include What You Use warnings.
authorEugene Zelenko <eugene.zelenko@gmail.com>
Tue, 1 Nov 2016 17:11:10 +0000 (17:11 +0000)
committerEugene Zelenko <eugene.zelenko@gmail.com>
Tue, 1 Nov 2016 17:11:10 +0000 (17:11 +0000)
Differential revision: https://reviews.llvm.org/D26171

llvm-svn: 285710

lldb/source/Host/posix/MainLoopPosix.cpp

index b6325a5..08c969e 100644 (file)
@@ -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;