diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2014-11-11 14:12:39 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2014-11-11 14:12:39 +0100 |
commit | 9310366b70c4953aff526ec62d0405dc729d5edf (patch) | |
tree | d5e79eb5d58db620ac7bc854f753b8808505bdd3 /gcc/system.h | |
parent | 568ccfea0f9f6c4a188429faa42c89087503f5a9 (diff) | |
download | gcc-9310366b70c4953aff526ec62d0405dc729d5edf.zip gcc-9310366b70c4953aff526ec62d0405dc729d5edf.tar.gz gcc-9310366b70c4953aff526ec62d0405dc729d5edf.tar.bz2 |
system.h: Include algorithm and utility.
* system.h: Include algorithm and utility.
* rtl.h: Do not include utility here.
* wide-int.h: Ditto.
* tree-vect-data-refs.c (swap): Remove template.
(vect_prune_runtime_alias_test_list): Use std::swap instead of swap.
From-SVN: r217348
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index c05f02d..58f50f1 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -215,7 +215,9 @@ extern int errno; #endif #ifdef __cplusplus +# include <algorithm> # include <cstring> +# include <utility> #endif /* Some of glibc's string inlines cause warnings. Plus we'd rather |