summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Memory.h')
-rw-r--r--include/llvm/Support/Memory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Memory.h b/include/llvm/Support/Memory.h
index 0996adb23f..acd7a04080 100644
--- a/include/llvm/Support/Memory.h
+++ b/include/llvm/Support/Memory.h
@@ -15,10 +15,11 @@
#define LLVM_SUPPORT_MEMORY_H
#include "llvm/Support/DataTypes.h"
-#include "llvm/Support/system_error.h"
#include <string>
+#include <system_error>
namespace llvm {
+using std::error_code;
namespace sys {
/// This class encapsulates the notion of a memory block which has an address