From 9310366b70c4953aff526ec62d0405dc729d5edf Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 11 Nov 2014 14:12:39 +0100 Subject: 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 --- gcc/system.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/system.h') 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 # include +# include #endif /* Some of glibc's string inlines cause warnings. Plus we'd rather -- cgit v1.1