diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-07 00:31:01 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-07 00:31:01 +0000 |
commit | ad87de1ece2f52d260b582709751ab9f315ab349 (patch) | |
tree | ec80f8d1e46852ac1ba45aecdcda7201c302ac6f /gcc/genattrtab.c | |
parent | 8098b1a5d828997acb2555106b3edccc0b43b661 (diff) | |
download | gcc-ad87de1ece2f52d260b582709751ab9f315ab349.tar.gz |
Merge from gcc-2.8
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index bef1c59bcba..025c61f7321 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -106,11 +106,19 @@ Boston, MA 02111-1307, USA. */ #include "rtl.h" #include "insn-config.h" /* For REGISTER_CONSTRAINTS */ -#ifndef VMS -#ifndef USG -#include <sys/time.h> -#include <sys/resource.h> +#ifdef TIME_WITH_SYS_TIME +# include <sys/time.h> +# include <time.h> +#else +# if HAVE_SYS_TIME_H +# include <sys/time.h> +# else +# include <time.h> +#endif #endif + +#ifdef HAVE_SYS_RESOURCE_H +# include <sys/resource.h> #endif /* We must include obstack.h after <sys/time.h>, to avoid lossage with @@ -1389,7 +1397,7 @@ make_canonical (attr, exp) RTX_UNCHANGING_P (exp) = 1; exp = check_attr_value (exp, attr); /* Goto COND case since this is now a COND. Note that while the - new expression is rescanned, all symbol_ref notes are mared as + new expression is rescanned, all symbol_ref notes are marked as unchanging. */ goto cond; |