Fix error: ‘std::ostream’ has not been declared
authorDuncan Sands <baldrick@free.fr>
Fri, 25 Jul 2008 19:29:14 +0000 (19:29 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 25 Jul 2008 19:29:14 +0000 (19:29 +0000)
when compiling with gcc 4.3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54041 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineFrameInfo.h

index a38bc971cd4b48abf2df527d5bcd805a84bc6445..6c49eaf88e03a52ae479ff6c78d725fa4a148cd4 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "llvm/Support/DataTypes.h"
 #include <cassert>
+#include <iosfwd>
 #include <vector>
 
 namespace llvm {