summaryrefslogtreecommitdiff
path: root/lib/Support/Windows
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Windows')
-rw-r--r--lib/Support/Windows/Memory.inc1
-rw-r--r--lib/Support/Windows/Process.inc2
-rw-r--r--lib/Support/Windows/Program.inc1
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/Support/Windows/Memory.inc b/lib/Support/Windows/Memory.inc
index d410df35aa..431cfb6cf9 100644
--- a/lib/Support/Windows/Memory.inc
+++ b/lib/Support/Windows/Memory.inc
@@ -19,6 +19,7 @@
// The Windows.h header must be the last one included.
#include "WindowsSupport.h"
+using std::error_code;
namespace {
diff --git a/lib/Support/Windows/Process.inc b/lib/Support/Windows/Process.inc
index 0be871c695..c88557c5ee 100644
--- a/lib/Support/Windows/Process.inc
+++ b/lib/Support/Windows/Process.inc
@@ -48,7 +48,7 @@
using namespace llvm;
using namespace sys;
-
+using std::error_code;
process::id_type self_process::get_id() {
return GetCurrentProcessId();
diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc
index 6c7ddbde33..8d1df5ffc9 100644
--- a/lib/Support/Windows/Program.inc
+++ b/lib/Support/Windows/Program.inc
@@ -24,6 +24,7 @@
//===----------------------------------------------------------------------===//
namespace llvm {
+using std::error_code;
using namespace sys;
ProcessInfo::ProcessInfo() : ProcessHandle(0), Pid(0), ReturnCode(0) {}