diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-11 13:12:39 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-11 13:12:39 +0000 |
commit | 3d4d7ad1fbc72621be934138ef326dcff994e575 (patch) | |
tree | d5e79eb5d58db620ac7bc854f753b8808505bdd3 /gcc/system.h | |
parent | 15e6e014c0cefbe3ab0a15e38f000abcf8053c64 (diff) | |
download | gcc-3d4d7ad1fbc72621be934138ef326dcff994e575.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217348 138bc75d-0d04-0410-961f-82ee72b054a4
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 c05f02d6273..58f50f19521 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 |