aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2020-12-10 18:01:12 +0000
committerPhilip Herron <herron.philip@googlemail.com>2020-12-17 17:23:46 +0000
commit29fb9e4d937f2d98734330f46f539514e2518cc3 (patch)
tree6432e8b5ec39b1534dc1a0a6e757df31567fd2df /gcc
parentb472eeeeb2adb1cb08c90c3c330e6a3cf687be7b (diff)
downloadgcc-29fb9e4d937f2d98734330f46f539514e2518cc3.zip
gcc-29fb9e4d937f2d98734330f46f539514e2518cc3.tar.gz
gcc-29fb9e4d937f2d98734330f46f539514e2518cc3.tar.bz2
tweak to rust-system.h includes
Diffstat (limited to 'gcc')
-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)