aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-system.h')
-rw-r--r--gcc/rust/rust-system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rust/rust-system.h b/gcc/rust/rust-system.h
index a711fdc..26c9b33 100644
--- a/gcc/rust/rust-system.h
+++ b/gcc/rust/rust-system.h
@@ -40,6 +40,7 @@
#include <string>
#include <deque>
#include <functional>
+#include <memory>
// Rust frontend requires C++11 minimum, so will have unordered_map and set
#include <unordered_map>
@@ -56,7 +57,7 @@
#include "coretypes.h"
#include "diagnostic-core.h" /* For error_at and friends. */
-#include "intl.h" /* For _(). */
+#include "intl.h" /* For _(). */
// When using gcc, rust_assert is just gcc_assert.
#define rust_assert(EXPR) gcc_assert (EXPR)