aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/TableGen/Record.cpp2
-rw-r--r--utils/TableGen/TableGen.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp
index 13e4c985b6..2a70c27e50 100644
--- a/utils/TableGen/Record.cpp
+++ b/utils/TableGen/Record.cpp
@@ -12,6 +12,8 @@
#include "Record.h"
#include "llvm/Support/DataTypes.h"
+#include <ios>
+
using namespace llvm;
//===----------------------------------------------------------------------===//
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index 5d946c20f9..3f8547d599 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -28,6 +28,7 @@
#include <algorithm>
#include <cstdio>
#include <fstream>
+#include <ios>
using namespace llvm;
enum ActionType {