From d25b15536cfa1c86bd3997df1d4f3a329b496ff7 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 14 Nov 2002 02:54:14 +0000 Subject: [PATCH] Index: common/ChangeLog 2002-11-13 Andrew Cagney * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif. Index: d10v/ChangeLog 2002-11-13 Andrew Cagney * simops.c: Include . --- sim/common/ChangeLog | 4 ++++ sim/common/run.c | 2 +- sim/d10v/ChangeLog | 4 ++++ sim/d10v/simops.c | 3 +++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index ac0c4dfe4ef..1e495767be6 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2002-11-13 Andrew Cagney + + * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif. + 2002-11-06 Richard Sandiford * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro. diff --git a/sim/common/run.c b/sim/common/run.c index d8c86cdd701..ca3194b5277 100644 --- a/sim/common/run.c +++ b/sim/common/run.c @@ -156,7 +156,7 @@ main (ac, av) target. */ operating_p = 1; break; -#endif SIM_HAVE_ENVIRONMENT +#endif #ifdef SIM_HAVE_PROFILE case 'p': sim_set_profile (atoi (optarg)); diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 320eb98b1c4..9c42d358561 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +2002-11-13 Andrew Cagney + + * simops.c: Include . + 2002-06-17 Andrew Cagney * d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum. diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c index 1c0ecfe7479..fbffa4d5602 100644 --- a/sim/d10v/simops.c +++ b/sim/d10v/simops.c @@ -7,6 +7,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_STRING_H +#include +#endif #include "d10v_sim.h" #include "simops.h" -- 2.30.2