OSDN Git Service

[Modules] Add some missing includes to make files compile stand-alone.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 12 Oct 2014 22:49:26 +0000 (22:49 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 12 Oct 2014 22:49:26 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219592 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/ConstantPools.h
lib/Analysis/BlockFrequencyInfoImpl.cpp
lib/Support/Unix/Process.inc

index 7c36c29..1fc0332 100644 (file)
@@ -15,7 +15,9 @@
 #ifndef LLVM_MC_CONSTANTPOOLS_H
 #define LLVM_MC_CONSTANTPOOLS_H
 
+#include "llvm/ADT/MapVector.h"
 #include "llvm/ADT/SmallVector.h"
+
 namespace llvm {
 class MCContext;
 class MCExpr;
index d132c23..9da9342 100644 (file)
@@ -13,8 +13,8 @@
 
 #include "llvm/Analysis/BlockFrequencyInfoImpl.h"
 #include "llvm/ADT/SCCIterator.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
-#include <deque>
 
 using namespace llvm;
 using namespace llvm::bfi_detail;
index 93b93ba..a429bb3 100644 (file)
@@ -27,6 +27,9 @@
 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 #if HAVE_SIGNAL_H
 #include <signal.h>
 #endif