summaryrefslogtreecommitdiff
path: root/tools/obj2yaml/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/obj2yaml/Error.h')
-rw-r--r--tools/obj2yaml/Error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/obj2yaml/Error.h b/tools/obj2yaml/Error.h
index b4d13ba7d0..b91bfbb33c 100644
--- a/tools/obj2yaml/Error.h
+++ b/tools/obj2yaml/Error.h
@@ -10,10 +10,10 @@
#ifndef LLVM_TOOLS_ERROR_H
#define LLVM_TOOLS_ERROR_H
-#include "llvm/Support/system_error.h"
+#include <system_error>
namespace llvm {
-
+using std::error_code;
const std::error_category &obj2yaml_category();
enum class obj2yaml_error {